zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    sql统计
    如何让文本框内的提示信息在激活文本框时清空
    Button onclick事件
    CustomValidator 的应用
    DjangoORM数据库创建
    HDU3685 几何+重心+凸包+判定锐角三角形
    CF181c
    POJ2187 旋转卡壳+凸包
    HDU2907凸包+凹面
    HDU2108+几何+判断凸多边形
  • 原文地址:https://www.cnblogs.com/xingchen/p/2943757.html
Copyright © 2011-2022 走看看