Search code examples
xcode4ios-simulator

error: failed to attach to process ID 0


I have been reading the forums and so far none of the solutions suggested works for me. I'm running Xcode 4.4.1 and testing in iPhone 5.1 simulator. The simulator won't open the apps anymore and I'm getting the above error. Any thoughts or solutions pls?


Solution

  • I've met the same problem

    1.you can delete the App directy under

    ~/Library/Application Support/iPhone Simulator/6.0/Applications

    and

    ~/Library/Developer/Xcode/DerivedData

    2.then you can start Xcode ; in the menubar you can find Project -> Clean

    EDIT: before copy/pasting 1 above change the Simulator Version to what you are using!