I am building an app in Release, and running on an iPhone 4s.
When I click on run, everything works well, my application even runs on the iPhone.
But after some times, I have an error from Xcode : "Timed out waiting for app to launch" while my app is still running.
How to deal with it?
Check which provisioning you are using, it seems that ad-hoc provisioning cannot be used for debugging. If your problem is not solve with above instruction then also try these:
Stop the app from running in Xcode;
Delete the app from the device (or Simulator);
Select Product > Clean from the Xcode menu;
Close Xcode;
Close the Simulator (or restart the device);
Restart your computer & then check.
Check which provisioning you're using. Make sure you are using Provisioning profile for testing app on device. If you are using Distribution profile then you will have this problem.
This happens to me when I relaunch the app while it is stopped at a breakpoint or during certain crashes. If you terminate the application (by press the stop button or Ctrl
+.
) before relaunching the app (upon crash or sitting at a breakpoint), this will not happen as often. Otherwise you should be able to get around this by:
Stopping app
Deleting app from your device
Shutting down the device (completely shutting it off)
Then restart it
You should not have to reset your actual computer or even do a manual clean. At least this has worked for me well over a dozen times.
It can occur if you are using a distribution profile to deploy the app on iDevice, try to change the profile to developer profile and it will run again properly
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With