============================================================
博文原创,转载请声明出处
============================================================
xcode真机调试时候出现以下错误,没法运行到真机上
Xcode suddenly stopped running project on hardware: “Could not launch xxx.app: .. No such file..”
解决方法有多重,都可能实现,大家可以都试一下:
1、我的是这种方法解决的
Try deleting "Required device capabilities" in the -Info.plist file.
2、我的并没有成功
- 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进行iOS应用开发时遇到的真机调试问题及解决方案。主要问题为项目无法运行到真机上,错误提示找不到指定文件。文章提供了两种解决方法:一是删除Info.plist文件中的Required device capabilities;二是尝试断开设备连接、删除真机上的应用、清除Xcode缓存等步骤。

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



