error: failed to attach to process ID xxx

来源:互联网 发布:java里 try 编辑:程序博客网 时间:2024/05/25 18:09

XCode模拟器运行时出错,提示error: failed to attach to process ID xxx,

解决方法:

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 

原创粉丝点击