Alex Rivera | Logout

Xcode 4 says "finished running <my app>" on the targeted device -- Nothing happens

Asked 2011-03-13T20:48:50.193
222

The app neither installs nor runs on my device. All provisioning profiles are up to date. I've already tried deleting and re-installing them.

The status bar shows that Xcode is building my project, then it says running my project on , then it says "finished running ." Throughout this entire period, the iPod screen stays black. The iPod is being detected in the Organizer and I don't see anything wrong with its configuration. Everything was working perfectly just a couple days ago with Xcode 3.

It doesn't work on the simulator, but it may be important to note that in the simulator it appears to get stuck on "Attaching to " and the simulator refuses to start.

Edit
Report

2 Answers

6

Mine case: I mistakenly set the: Required device capabilities -> accelerometer to NO (in Info.plist). Just have to set it back to YES

Also: Make sure that the Required device capabilities is of the proper type: i.e. Boolean or String. The wrong type will invariably make the test fail, and the app not load.

answered 2011-07-28T09:55:52.230
0

My Info.plist had it's target membership set to my build target. Removing it from the target membership solved the problem.

answered 2012-06-02T03:36:00.917

Your Answer