DeveloperDiskImage.dmg for iOS 17 not found in Xcode 15 · Issue #588 · ios-control/ios-deploy (original) (raw)
As of Xcode 15 and iOS 17, DeveloperDiskImage.dmg is no longer found in the expect path, which is Xcode.app > Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport > 17.x.
This appears to be a permanent change:
https://developer.apple.com/forums/thread/730947
libimobiledevice/libimobiledevice#1452
Expected behavior
Debugging starts properly
Actual behavior.
Debugging phase fails due to missing DeveloperDiskImage.dmg.
------ Debug phase ------
Starting debug of xxxx (J617AP, J617AP, uknownos, unkarch, 17.0, 21A5248v) a.k.a. 'xxx' connected through USB...
2023-06-09 11:42:16.219 ios-deploy[45135:1129696] [ !! ] Unable to locate DeviceSupport directory with suffix 'DeveloperDiskImage.dmg'. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown!
Steps to reproduce the problem
- Download Xcode 15 beta
- Select new Xcode
xcrun xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer
- Download iOS 17 on a physical device
- Run ios-deploy
ios-deploy --id xxxx --bundle path/to/Runner.app --app_deltas path/to/app-delta --debug --no-wifi
System Specs
Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.
- 1. system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 13.4 (22F66)
Kernel Version: Darwin 22.5.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: xxx
User Name: xxx
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 1 day, 6 hours, 59 minutes
- 2. ios-deploy -V
1.12.0
- 3. xcodebuild -version
Xcode 15.0
Build version 15A5160n
- 4. xcode-select --print-path
/Applications/Xcode-beta.app/Contents/Developer
- 5. gcc --version
Apple clang version 15.0.0 (clang-1500.0.28.1.1)
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
- 6. lldb --version
lldb-1500.0.14.6
Apple Swift version 5.9 (swiftlang-5.9.0.114.6 clang-1500.0.27.1)