- Could not locate device support
- Xcode真机调试报错:Could not locate dev
- Could not locate device support
- Could not locate device support
- Could not locate device support
- 【Could not locate device support
- Could not locate device support
- Could not locate device support
- Could not locate device support
- Xcode 真机运行报错 iPhone has denied t
有时候打开Xcode连接真机运行程序,会出现如图的提示:
image.png
这是由于iPhone系统更新了新版本,而xcode的版本较低,不兼容而不支持在真机运行程序。
这时有2个解决方案:
- 更新Xcode到新版本,缺点:xCode实在太大,要下载几个小时。
- 网上下载对应iPhone系统版本的真机运行支持包。
采取方案2最方便省时。
下载对应iphone系统版本的真机运行支持包:
image.png
拷贝到目录Xcode路径/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
:
image.png解压, 找到路径 Finder -> 应用程序 -> 右键Xcode7.3 -> 显示包内容 -> Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
关闭退出Xcode,重新打开xCode再真机运行就可以了。
网友评论