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

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 device is a 7.1 iPhone 4S

I have tried:

  • Clean
  • Clean Build Folder
  • Deleting app
  • Disconnecting/Reconnecting device
  • Booting device
  • restarting Xcode

What can I do to make it work?

Could it be something with Code Signing?

Currently i have it set to 'Dont Code Sign'


Solution 1:

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.

Solution 2:

I literally restarted my iPad, that was connected for testing the app, and that resolved the issue.

Solution 3:

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

Solution 4:

If your provisioning profile and code sign everything is alright then try once Quit and Restart your XCode. It will work for me.