无法附加到进程 ID Xcode [英] Failed to Attach to Process ID Xcode
问题描述
有人遇到过这个问题吗?昨天我仍然可以在模拟器中运行我的应用程序,但现在我无法运行我的应用程序,因为 Xcode 在控制台中打印了这个错误:
Anyone has experienced this problem? Yesterday I still can run my app in simulator but now I cannot run my app since Xcode prints this error in console:
error: failed to attach to process ID <ID number>
我已尝试重新安装,请执行此操作发布并创建新项目,但没有运气.谁能解决这个问题?
I have tried to reinstall, do this post and create new project but returns no luck. Anyone can resolve this issue?
我使用 Xcode 4.5 Preview 2 并尝试运行 iOS 模拟器 6
I use Xcode 4.5 Preview 2 and try to run iOS simulator 6
推荐答案
两种方法
方法一:文件夹内Application Support -> iPhone Simulator -> 在每个模拟器版本的iOS -> Applications -> Delete此处显示的所有文件.
Method 1 : Inside the folder Application Support -> iPhone Simulator -> In the each simulator version of iOS -> Applications -> Delete all the files present here.
现在转到产品 -> 清洁
现在在任何模拟器上运行它,它就会工作.
Now run it on any simulator and it will work.
方法二:
这篇关于无法附加到进程 ID Xcode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!