Skip to content

fail to launch process sometimes #3

@viewrain

Description

@viewrain

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions