`
aiquantong
  • 浏览: 112738 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

error: failed to attach to process ID 0

    博客分类:
  • IOS
阅读更多

error: failed to attach to process ID 0

答案:
Open only XCode without opening project -> Go to Window -> Organizer -> [ProjectName] and delete it completely -> Quit XCode -> Open iPhone simulator and reset settings -> Quit iPhone simulator -> reboot Mac -> reopen XCode and run application

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

I experienced the same problem, and after a while I found out that it was due to the fact that my XCode project included a Folder Reference to a folder named Resources. 

It seems that XCode doesn't like that name. 

Just removing the folder reference or renaming the folder solved the issue. 

 

 

go to the Product menu and find the Edit Scheme menu there.

While in Edit Scheme window, select the "Run" option on the left hand side of the screen and then on the right hand side, change the debugger from LLDB to GDB.

20130206

发现用真机跑是能够成功的,怀疑是模拟器的问题,自己在退出关闭模拟器时出现问题

 

20130216

一下这个在我的模拟器上OK了,感谢互联网,感谢神人分享

Go to IOS Simulator tool bar and click Reset Content and Settings...

http://stackoverflow.com/questions/12741188/error-failed-to-attach-to-process-id-0

 

THE END!

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics