Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6 process launch failed: timed out trying to launch app

Tags:

xcode

ios

xcode6

I can't debug my app because when I run it, Xcode gives me the error:

Process launch failed: timed out trying to launch app

In the device I see a black screen and after the error message the app starts. How can I fix this?

I tried to change the code signing identity and the provisioning profile, and to refresh the provisioning profiles in the Xcode > Preferences > Accounts > Details tab.

I'm using Xcode Version 6.0.1 (6A317) with an iPad mini, running iOS 8.0 and a MacBook with OSX 10.9.4.

After this, if the iPad goes into sleep mode (the screen turns off) I can't wake it anymore; I have to do a soft reset.

like image 529
Tenaciousd93 Avatar asked Sep 25 '14 06:09

Tenaciousd93


3 Answers

You are using distribution provisioning profile rather than development profile. check this link

like image 54
Ishu Avatar answered Nov 03 '22 07:11

Ishu


How to Fix:

I fix it with:

  • clean project (Product > Clean)
  • hard reset device (power button + home button)
  • delete app from device
  • close xcode
  • CLOSE ITUNES (itunes must be closed)
  • re-open Xcode and run!

I think that iTunes was the problem.


EDIT: 2017/02: Solution still Woks (Thanks to @SalGad for information).

like image 30
Tenaciousd93 Avatar answered Nov 03 '22 07:11

Tenaciousd93


I am using Xcode 6.2, running on iPhone 4 with iOS 7.1.2, the problems happen to me as well.

It turned out that the Project and Targets' Code Signing settings are different from each other! And that's what is causing the issue.

Code Signing

To solve the issue, you must make sure that their Code Signing settings is the same.

like image 7
KarenAnne Avatar answered Nov 03 '22 07:11

KarenAnne