Could not launch process launch failed: timed out waiting for app to launch

后端 未结 22 1664
广开言路
广开言路 2020-12-02 07:04

I am trying to launch my app on device. It is launching successfully on the simulator.

  • List item
  • I use 7.1 SDK
  • Xcode 5
  • And the devi
22条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 07:30

    Below are 2 awesome hacks that have not been mentioned yet:

    HACK #1:

    Lock your phone, press XCode start, wait till XCode says "unlock your device to launch", then unlock your phone, it will be launched successfully, works every time.

    HACK #2:

    If your goal is just to debug the app, here is another simple and straight-forward approach:

    1. After the app is deployed, launch it manually.
    2. Goto XCode -> Debug -> Attach to Process ... to choose your app from the list, then debug properly.

    This works well for me, and it saves lots of time. I hope this helps, thanks!

提交回复
热议问题