如何解决Could not launch app - No such file or directory

如何解决Could not launch app - No such file or directory

升级到XCode4.5后会经常出现“Could not launch app - No such file or directory”这个问题,下面介绍下我的解决方法


1.断开设备,删除在设备调试的APP

2.强行退出XCode(Quit xcode),不要只是关闭,直接强行退出

3.删除系统生成的文件 (~/Library/Developer/Xcode/DerivedData/),使用终端命令进入到相应目录,然后执行:rm -rf DerivedData/,等一会就可以了

4.重启XCode,连接完设备测试就可以了

你可能感兴趣的:(如何解决Could not launch app - No such file or directory)