Xcode 4.6 builds, starts and finishes right away (iOS 6.1 simulator)

In xcode, I tried to add a binding gesture to my application, and when I built it, it had a problem with Xcode. This goes from building “running on iPhone 6.1 simulator” to “shutting down on iPhone 6.1 simulator”.

If the simulator is closed, it starts up with a black screen, and you cannot press the home button, etc. If open, nothing happens, the application does not install, but the simulator does not crash.

I tried the armv6 architecture fix, but that didn't work. I also cleared the project and project data. I have reset the simulator several times.

If I add old files to my new project, it will work to one point (I copy and paste the old files into new ones), but then this happens.

Thanks for your help in advance!

Note: New empty projects are built and work fine.

EDIT: it still doesn't work after undoing my previous actions, and the simulator responds according to Finder, although the screen remains black

-----------------------------------------

UPDATE

I had a folder called "resources" in my application, imported as a link, which, following the links from the @ arthan.v stream, provided me with a fixed problem. What I did was rename the folder to files and reimport.

Thank you so much, I spent 2 days trying to fix it earlier!

+7
source share
4 answers

Click the Center Button in the view on the right side of Xcode .
enter image description here

In the bottom line you will see error: failed to attach to process ID 0 .

Check these errors: could not connect to the process ID 0 and Xcode compiles my application, but cannot run it in the simulator

+6
source

This is sometimes fixed by the following steps:

  • iOS Simulator> Reset Content and Settings ...> Reset
  • Xcode> Build and Run
+2
source

I got the same problem after re-organizing the code and renaming the workspace and project. Ultimately, the old version of my test application was implemented on the simulator's working screen. I delete it, and then everything builds fine again.

+1
source

You may need to add the device to the provisioning profile. I tested this on Xcode 6 and a real device.

+1
source

All Articles