• error: failed to attach to process ID 0


    Link Address:http://blog.sina.com.cn/s/blog_8aecea5f0101atpv.html

    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!

    2013-03-05

  • 相关阅读:
    好玩的WPF第二弹:电子表字体显示时间+多彩呼吸灯特效button
    ZOJ
    为应用程序加入缓存
    3、Spring4之Bean 配置的细节
    POJ
    解决apache+tomcatserver环境中文乱码的问题
    2014年CCNU-ACM暑期集训总结
    POJ 1328 Radar Installation(贪心)
    CF 452A(Eevee-直接试)
    Android中View和ViewGroup介绍
  • 原文地址:https://www.cnblogs.com/xingchen/p/2943757.html
Copyright © 2020-2023  润新知