报错:failed to attach to process ID 0

来源:互联网 发布:婴幼儿棉裤淘宝 编辑:程序博客网 时间:2024/05/17 23:24

程序是正确无误的,模拟器上正常运行,所以我不再从xcode上找问题了。

然后连接iphone测试,运行正常。

问题很明显了,模拟器菜单栏选择“还原内容和设置”,搞定。屡试不爽。