pymobiledevice3
pymobiledevice3 copied to clipboard
Would it be possible to get stdout/stderr streamed from `pymobiledevice3 developer dvt launch`
With the libimobiiledevice toolset I was able to use idevicedebug to launch an app on iPhone and it would stream the stdout/stderr back while the app was running and it would also return the processes return code when it ended.
I would like a way to do this now in iOS 17.
I have two ways of launching an app now on iOS17.
- Using Xcode 15's:
xcrun devicectl device process launch - Using
pymobiledevice3 developer dvt launch
Both work in a similar way by launching the app and then returning.
Is there a way existing that I can get stdout/stderr streaming? And if not would it be something that could be added to pymobiledevice3.
Thank you.
I just pushed a PR that might resolve your issue. It doesn't get an event for process termination though
@WaterJuice , a bit new to pymobiledevice3. I understand on xcrun I launch an app via
xcrun devicectl device process launch --device <ID> <BUNDLE_ID> <ARGS>
But with pymobiledevice3 I do not see any possibility to specify the app
@doronz88 , any help with this? When I specify my bundle ID and args it gives errors, interpreting the bundle ID and arguments as arguments to process launch,
If you are encountering issues then please submit an issue @SachaTe