libimobiledevice / libimobiledevice

A cross-platform protocol library to communicate with iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v2.1
6.61k stars 1.32k forks source link

iOS 15.8: problems with DeveloperDiskImage #1604

Open serjepatoff opened 3 weeks ago

serjepatoff commented 3 weeks ago

Both genuine Xcode and third-party repositories miss DeveloperDiskImage for iOS 15.8.

Everyone recommends mounting 15.5 image instead, like here: https://forums.developer.apple.com/forums/thread/740419?answerId=771334022#771334022

here: https://github.com/Schlaubischlump/LocationSimulator/issues/199

and here: https://github.com/iGhibli/iOS-DeviceSupport/issues/237

I tried it, 15.5 image mounted successfully on iOS 15.8 with ideviceimagemounter.

But myriad of bugs appeared after it.

  1. When I tried to run idevicescreenshot, it fails:

    $ idevicescreenshot 
    Could not connect to screenshotr
  2. idevicedebug fails too:

    $ idevicedebug run com.mydebugapp
    Could not start com.apple.debugserver!
    Please make sure to mount the developer disk image first:
    1) Get the iOS version from `ideviceinfo -k ProductVersion`.
    2) Find the matching iPhoneOS DeveloperDiskImage.dmg files.
    3) Run `ideviceimagemounter` with the above path.

PS. com.mydebugapp is debug version of my app having get-task-allow entitlements. PPS. I'm 1000% sure DeveloperDiskImage was actually mounted because Settings->Developer menu is present PPPS. Both MacOS and Linux versions of libimobiledevice fail the same way. Both latest available release of libimobiledevice and manually built from fresh sources one.

serjepatoff commented 3 weeks ago

What a dingus I am :)

I tried Mac homebrew version which is 1.3.0 from 2020, and self-compiled libimobiledevice from 1.3.0 tag on Linux. No surprise that idevicescreenshot and idevicedebug failed.

Master branch works as intended, please close the issue.