Skip navigation

Xcode error: failed to attach to process ID xxx

4662 Views 12 Replies Latest reply: Jul 12, 2013 11:27 AM by iPodinfantry RSS
luvelle Calculating status...
Currently Being Moderated
Sep 8, 2012 2:15 AM

I'm working on an Xcode project running on Xcode 4.4.1 and Mountain Lion OSX 10.8.1, trying to get it to run on iPhone Simulator 5.1. Initially everything worked fine (I could build and run it on the simulator), but somehow, something went wrong and now everytime I try to run the project, I get, "error: failed to attach to process ID xxx", where xxx is the current process ID (and hence varies at each run). I've tried the following:


1. Uninstalling Xcode and reinstalling a fresh (and latest) copy.

2. Reformatting my MacBook and reinstalling the updated Mountain Lion.

3. Clicking on Product -> Clean in Xcode.

4. Deleting derived data in the Organizer pane, under the Projects tab.

5. Resetting content in the iPhone Simulator.

6. Deleting everything under ~/Library/Application Support/iPhone Simulator.

7. Restarting my MacBook several times.

8. Creating a whole new project without adding any components.


NONE of these worked for me. I'm still unable to run my project on the simulator and I've already wasted many many hours trying to fix it. Is this a bug in the latest updates? I've seen similar problems on stackoverflow, seems like no one has found a solution yet.


This is my last bid for an answer. I'm at my wits' end.

MacBook (13-inch Late 2009), OS X Mountain Lion (10.8.1), iPhone Simulator 5.1, Xcode 4.4.1


More Like This

  • Retrieving data ...

Bookmarked By (1)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.