Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.4 error - Timed out waiting for app to launch

yesterday I installed Xcode 4.4.

I'm working on a project which needs to run on ios 4.1 upwards, supporting iOS device with camera. Until I installed Xcode 4.4 everything went well, and I can test app on iphone 3gs and 4s. After I installed Xcode 4.4 I was unable to test app on iphone 3gs, and everytime I try to do it, xcode shows me that message: - Could not lauch "appname". timed out for app to lauch -

Does someone have any idea how to get rid of that error?

like image 370
notsoux Avatar asked Jul 27 '12 07:07

notsoux


3 Answers

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 debugging.

EDIT In fact, it seems only development provisioning profiles are Ok for debugging

like image 86
Vinzzz Avatar answered Oct 18 '22 14:10

Vinzzz


scheme configuration For me:
Under Edit Scheme
For the Run configuration
On the Info tab
For Build Configuration
I had Release selected

But, it needs to be on Debug to run locally on a device.

like image 4
bearMountain Avatar answered Oct 18 '22 15:10

bearMountain


I had a similar issue. In my case the reason was that I changed the setting for Launch ( xcode -> product -> Edit Scheme) to Wait and forgot about it.

When I changed the setting back to Automatic, the app will launch as usual.

like image 3
B.M. Lam Avatar answered Oct 18 '22 14:10

B.M. Lam