You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, guys:
idevice-app-runner is a great tool for me to invoke my app by command line!
But I found that it failed to launch the process sometimes. The application was opened, but hanged there and exited later. The system log in console was like this:
Oct 29 19:37:29 USMTV-iPhone4-iOS6 kernel[0] : lockbot[13554] Builtin profile: debugserver (sandbox)
Oct 29 19:37:29 USMTV-iPhone4-iOS6 com.apple.debugserver-189[13569] : Connecting to com.apple.debugserver service...
Oct 29 19:37:29 USMTV-iPhone4-iOS6 com.apple.debugserver-189[13569] : Got a connection, waiting for process information for launching or attaching.
Oct 29 19:37:31 USMTV-iPhone4-iOS6 com.apple.launchd1 : (UIKitApplication:com.google.AzimuthKIF[0x3c55]) Spawned and waiting for the debugger to attach before continuing...
Oct 29 19:37:31 USMTV-iPhone4-iOS6 kernel[0] : launchd[13571] Builtin profile: container (sandbox)
Oct 29 19:37:31 USMTV-iPhone4-iOS6 kernel[0] : launchd[13571] Container: /private/var/mobile/Applications/E926A97F-26A9-4F9D-B486-3FCB863FFEEC (sandbox)
Oct 29 19:37:35 USMTV-iPhone4-iOS6 com.apple.debugserver-189[13569] : error: failed to launch process (null): unknown error.
After I saw the error, I killed "idevice-app-runner" command and ran again, it worked again.
Anyone encountered the same problem before?
Is it possible to add a retry_num flag, so that it will retry to launch the process if it's failed for the first time?
Thanks a lot!
Yu
The text was updated successfully, but these errors were encountered:
First of all, sorry for late reply. I'm glad that you find the tool useful.
I don't remember having this problem.
As a workaround you could write shell script which starts idevice-app-runner and idevicesyslog in parallel. It then parses idevicesyslog output for error string you noticed. When/if it finds the error message it should restart idevice-app-runner. Messy but it could be acceptable.
If you need help writing this shell script - tell me.
First of all, sorry for late reply. I'm glad that you find the tool useful.
I don't remember having this problem.
As a workaround you could write shell script which starts
idevice-app-runner and idevicesyslog in parallel. It then parses
idevicesyslog output for error string you noticed. When/if it finds the
error message it should restart idevice-app-runner.
That's what I have done :)
Thank you so much for this useful tool and the advice~
Messy but it could be acceptable.
If you need help writing this shell script - tell me.
Regards!
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-11784803.
Hi, guys:
idevice-app-runner is a great tool for me to invoke my app by command line!
Oct 29 19:37:29 USMTV-iPhone4-iOS6 kernel[0] : lockbot[13554] Builtin profile: debugserver (sandbox)
Oct 29 19:37:29 USMTV-iPhone4-iOS6 com.apple.debugserver-189[13569] : Connecting to com.apple.debugserver service...
Oct 29 19:37:29 USMTV-iPhone4-iOS6 com.apple.debugserver-189[13569] : Got a connection, waiting for process information for launching or attaching.
Oct 29 19:37:31 USMTV-iPhone4-iOS6 com.apple.launchd1 : (UIKitApplication:com.google.AzimuthKIF[0x3c55]) Spawned and waiting for the debugger to attach before continuing...
Oct 29 19:37:31 USMTV-iPhone4-iOS6 kernel[0] : launchd[13571] Builtin profile: container (sandbox)
Oct 29 19:37:31 USMTV-iPhone4-iOS6 kernel[0] : launchd[13571] Container: /private/var/mobile/Applications/E926A97F-26A9-4F9D-B486-3FCB863FFEEC (sandbox)
Oct 29 19:37:35 USMTV-iPhone4-iOS6 com.apple.debugserver-189[13569] : error: failed to launch process (null): unknown error.
Thanks a lot!
Yu
The text was updated successfully, but these errors were encountered: