error: failed to attach to process ID 0

后端 未结 22 2097
遥遥无期
遥遥无期 2020-12-02 16:50

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 op

22条回答
  •  忘掉有多难
    2020-12-02 17:17

    I guess there exists someone who is in case the matter happens only in a project, not in every project and failed to resolve the matter after doing a lot of solutions posted on this Question page, such as 'deleting the App directy under ~/Library/Application Support/iPhone Simulator/6.0/Applications and ~/Library/Developer/Xcode/DerivedData', 'Cleaning all the logs by doing Project -> Clean' and 'Cleaning all the log and contents in the iOS Simulator Menu' and anything else.

    Yes, I also finally failed to resolve that.

    For you, It might be a solution if you are in the problem I mentioned above: Create a new project with a similar name, and copy and paste all of your classes and resourse files existing in your previous project folder to the new one and link the references between your new project and the copied files in Xcode. Then, clean the build logs by pressing 'Shift + Command + K'.

    In my case, this made me able to continue my work...

提交回复
热议问题