ios-control / ios-deploy

Install and debug iPhone apps from the command line, without using Xcode
GNU General Public License v3.0
3.42k stars 468 forks source link

ios-deploy - Unable to mount developer disk image ios16 #593

Open olivia-hhe opened 1 year ago

olivia-hhe commented 1 year ago

ios-deploy unable to mount developer disk image for ios 16.6.1. DeveloperDiskImage is able to be located(see detailed logs below). Tried suggestions in https://github.com/ios-control/ios-deploy/issues/73 reboot device but not working. Verified this issue not happening on ios 15.6.1. Command line: ios-deploy -vvv --noninteractive --noinstall --justlaunch --bundle /path/to/app --args 'deeplink:'

Actual behavior.

Starting debug of 00008030-xxxxxx (N104AP, iPhone 11, iphoneos, arm64e, 16.6.1, 20G81) a.k.a. 'iPhone' connected through WIFI...
Device Class: iPhone
build: 20G81
version: 16.6.1
Found Xcode developer dir /Applications/Xcode.app/Contents/Developer
version: 16.6
DeviceSupport directory '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/16.6/DeveloperDiskImage.dmg' was located. It took 0.00 seconds
Developer disk image: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/16.6/DeveloperDiskImage.dmg
ios-deploy [ !! ] Unable to mount developer disk image.

Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.

wojciech-kulik commented 10 months ago

Similar issue when I'm trying to start debugging on iOS 17.3 (iPhone 12 Pro). Is this project still maintained? No answer here for 6 months.

Starting debug of 0000SDASAD-XYZ (D53pAP, iPhone 12 Pro, iphoneos, arm64e, 17.3, 21D50) a.k.a. 'iPhone 12 (XYZ)' connected through USB...
2024-02-02 21:21:13.639 ios-deploy[27973:84396786] [ !! ] 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!

Xcode 15.2

gasci commented 10 months ago

I believe ios-deploy is dead. But the problem is cordova run ios automatically triggers that I couldn't find a workaround

RakField commented 7 months ago

I was able to solve similar issue on iOS 16.2 by enabling the developer mode -> https://developer.apple.com/documentation/xcode/enabling-developer-mode-on-a-device