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

  • 相关阅读:
    vue移动端适配问题
    excel 表格数据转json格式
    常用快捷键
    微信公众号监听返回事件
    总结css常用方法
    封装axios
    初学angular项目中遇到的一些问题
    jquery项目中一些常用方法
    怎样做ie兼容性
    vue事件修饰符
  • 原文地址:https://www.cnblogs.com/xingchen/p/2943757.html
Copyright © 2011-2022 走看看