网上搜索了一下
http://stackoverflow.com/questions/11456312/xcode-suddenly-stopped-running-project-on-hardware-could-not-launch-xxx-app
That is really annoying. This error happens in a number of different situations. Sometimes restarting the Xcode, fixes the problem. If not, follow these steps:
Disconnect your device.
Delete the app from your device.
Quit Xcode (Do not just simply close the window, quit it)
Delete derived data folder (~/Library/Developer/Xcode/DerivedData/-gbrvhlvwmpiobxdujegtghggrffp -
or something like that)
Now start Xcode once again, connect device and run the project. It should work fine.
当遇到Xcode项目在硬件上无法启动的问题时,可以尝试断开设备、删除应用、退出Xcode、删除derivedData文件夹,然后重新启动Xcode、连接设备并运行项目,通常可以解决该问题。
3927

被折叠的 条评论
为什么被折叠?



