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

后端 未结 22 1665
广开言路
广开言路 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:28

    I had the same problem and I tried all the suggested steps but I managed to get it deployed and run only after I powered off my iphone.

    0 讨论(0)
  • 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!

    0 讨论(0)
  • 2020-12-02 07:30

    Just to throw out an additional suggestion to anyone coming across this problem (it's been burning me frequently lately) -- try going to the Targets -> (Your Target) -> General -> Team and re-selecting the same Team, which forces Xcode to update profiles for you.

    That has been the culprit for me a couple of times. Seems to happen specifically if you've recently re-downloaded a distribution certificate for new devices or w/e. Or if you've just dumped your Provisioning Profiles directory in general.

    0 讨论(0)
  • 2020-12-02 07:30

    option + command + shift + k and then run the project did the trick for me.

    0 讨论(0)
  • 2020-12-02 07:31

    I had this problem when I used a Distribution certificate instead of Developer one when running the app from Xcode. You may check it out your target --> Build Settings --> Code signing.

    As @AndyDynn pointed out in his comment: Make sure you do this on the "Target" build settings and not just the "Project" build settings.

    0 讨论(0)
  • 2020-12-02 07:33

    To run your app on a device, you will perform these tasks that follow:

    1. Request a development certificate.

    2. Add your device to the portal.

    3. Code sign your app.

    4. Launch your app on the device.

    For more detail check this

    0 讨论(0)
提交回复
热议问题