pymobiledevice3 icon indicating copy to clipboard operation
pymobiledevice3 copied to clipboard

Failed to start debug server on iOS 17, host macOS

Open lockieluke opened this issue 1 year ago • 1 comments
trafficstars

Test environment

  • macOS 14.2.1
  • iPhone 13 on iOS 17.2.1

Describe the bug Despite mounting the image just before the debug server is started and --rsd passed, it still says it's not mounted. Command:

pymobiledevice3 mounter auto-mount --rsd [rsd] && pymobiledevice3 developer debugserver start-server --rsd [rsd]

Expected behavior Debug server starts successfully

Logs

2024-04-20 22:14:57 Sherlocks-Air pymobiledevice3.cli.mounter[68892] ERROR DeveloperDiskImage already mounted
/Users/sherlockluk/.local/pipx/venvs/pymobiledevice3/lib/python3.12/site-packages/pymobiledevice3/utils.py:55: DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
2024-04-20 22:14:58 Sherlocks-Air pymobiledevice3.__main__[68899] WARNING Trying again over tunneld since it is a developer command
2024-04-20 22:14:58 Sherlocks-Air pymobiledevice3.__main__[68899] ERROR Failed to start service. Possible reasons are:
- If you were trying to access a developer service (developer subcommand):
    - Make sure the DeveloperDiskImage/PersonalizedImage is mounted via:
      > python3 -m pymobiledevice3 mounter auto-mount

    - If your device iOS version >= 17.0:
        - Make sure you passed the --rsd option to the subcommand
          https://github.com/doronz88/pymobiledevice3#working-with-developer-tools-ios--170

- Apple removed this service

- A bug. Please file a bug report:
  https://github.com/doronz88/pymobiledevice3/issues/new?assignees=&labels=&projects=&template=bug_report.md&title=

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

lockieluke avatar Apr 20 '24 21:04 lockieluke

looks like the tunnel was created BEFORE the image was mounted

doronz88 avatar Apr 23 '24 16:04 doronz88