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?
Solution 1:
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
Solution 2:
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.
Solution 3:
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.
Solution 4:
I also had same problem. I deleted old provisioning & distribution profiles from the testing devices and installed the modified profiles. The date of these provisioning profiles matter. The error timedout got solved.
Solution 5:
Remove the app from the device/simulator and try again, should work. Looks to be a bug in xcode.