This problem is pretty ridiculous and I'm running out of ideas of what to try:
I have been successfully using Xcode to debug my game on my iOS device (iPhone) for the past couple of weeks, but now all it will do when I try to do a run with my iPhone set as target is successfully build the application and then Stop immediately. No Errors, nothing in console logs. The application doesn't even copy over to my device.
Xcode says: Building, Running, Finished Running....all within 2 seconds...
I'm using Xcode 4 iOS 4.3
I've tried the following:
- Rebooting mac
- Deleting application from iPhone and rebooting iPhone (although my power button no longer works on my iPhone, so I had to run down the entire battery to try this)
- Cleaned project and rebuilt
Nothing seems to help. The game compiles and runs successfully on the iOS Simulator within Xcode as well, and as I've said I've been able to copy my game over prior to yesterday, but for some reason it just stopped working...
UPDATE: Solved by setting the "accelerometer" from "NO" to "YES" in Info.plist.