Closed jpstotz closed 8 months ago
The error is a VERY descriptive one and describes the exact problem. You are even given a very detailed guide in how to approach this in the exception catching:
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=
Unfortunately you completely ignored the error that was raised
Test environment
Describe the bug Trying to use the rsd connection ends in an error
Failed to start service. ...
For example the commandpymobiledevice3 developer core-device list-apps --rsd fdaf:4582:6af9::1 60027
To Reproduce Steps to reproduce the behavior:
pymobiledevice3 remote start-tunnel
--rsd ...
option from outputpymobiledevice3 developer core-device list-apps --rsd fdaf:4582:6af9::1 60027
Logs Using the latest sources from Git I ran the command with debugging and found out that the reason is an
InvalidServiceError
. Unfortunately pymobiledevice3 completely ignores the content of this error (in my opinion a verbose/debugging mode would make sense here that prints the exception and the stack trace). Printing the error message I getpymobiledevice3.exceptions.InvalidServiceError: No such service: com.apple.coredevice.appservice
Looking at the services list in
RemoteServiceDiscoveryService
I see these services:For community
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 comment