xcode timed out waiting for app to launch
Asked Answered
S

3

21

Application get fail to launch in device having iOS 6.0 from xcode 4.5. Xcode says Application can't be launched timed out waiting for app to launch. I reset my all device settings. Cross checked if i choosed right provisioning. Yes, its right. here i am attaching image of console. Please help me out. enter image description here

Sension answered 24/10, 2012 at 11:28 Comment(10)
What I usually do is : - quit xcode - remove app from device - shut down device (complete shutdown, not just sleep mode) - start up device - start up xcode. Then it should work, if not it might be a provisioning error, you could delete the profile and download it again from the portal.Feriga
@NickyGoethals ok let me check.Sension
@NickyGoethals Done with all thing that you have mentioned but .. :( no luck, but it works on simulator and device lower than iOS 6.0 i.e iOS 5.1. Any other idea?Sension
Are you sure you are using a device that has been added to the provisioning portal ? That's the only thing I can think off.Feriga
yes the name and 16 digit hexadecimal udid to provisioning. but now i have cleared all derive data, clean all the project, check if device added in provisioning, re download the provisioning, checked code signing, edit scheme and comes out wit problem:No such file or directory (/Users/jassal/Library/Developer/Xcode/DerivedData/..)Sension
@NickyGoethals although there exist file at pathSension
I'm sorry, all out of ideas for the moment. Only thing I can think of is restoring your device. Good luck !Feriga
I have the same problem. Seemed to pop up all of the sudden a few days ago.Eberto
I am facing the same issue but it happens once in every two times. I have checked the profiles. I am using development profile in release mode. But the problem has become quite irritating. Anyone faced the same issue?Walliw
Refer this link and it may work solvedstack.com/questions/…Scotland
P
47

None of the above tips helped me. It turned out I was using my Distribution Profile instead of the Developer Profile in Debug mode. You can check the Profile you are using by going to Build Settings->Code Signing Entity.

Make sure you are using your Developer Profile in Beta and Debug mode.

Possessory answered 30/1, 2013 at 16:25 Comment(1)
Thank you very much! Interesting how Xcode can't be a bit smarter about this.Courtenay
E
9

I had a similar issue when trying to debug an App with Ad-Hoc provisioning... Check which provisioning you're using, it seems ad-hoc provisioning cannot be used for debbuging.

Exhortation answered 19/3, 2013 at 11:24 Comment(0)
C
8

Whenever this happens to me, I have done the following to fix the problem:

  1. Stop the app from running in Xcode.
  2. Delete the app from the device (or Simulator).
  3. Select Product > Clean from the Xcode menu.
  4. Close Xcode.
  5. Close the Simulator (or restart the device).
  6. Restart your computer (yes I know this like a Windows solution but seriously).
  7. Try again.
Cinematography answered 21/1, 2013 at 22:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.