"error: failed to attach to process ID 0"问题解决

启动simulator没多久,感觉不到simulator自身加载启动完成就报这个错。

在simulator menubar上,ios模拟器-->还原内容和设置,

自动还原加载桌面后,run app成功!

原文地址:https://www.cnblogs.com/edgarli/p/ios.html