Could not locate device support files.This iPhone 6 is running iOS 10.3.1 (14E304), which may not be supported by this version of Xcode.
解决方案:

  1. 打开/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk将里面的SDKSettings.plist拷贝出来修改如下。
    如果XCode最高支持10.2,手机系统是10.3则把所有10.2改成10.3
    XCode免升级支持iOS设备调试

    设置完成之后

    XCode免升级支持iOS设备调试

  2. 打开 /Developer/Platforms/iPhoneOS.platform/DeviceSupport。
    添加10.3安装包,10.3安装包可以直接从网上下载。如果需要支持ios 6或者ios7按照同样步骤
    将安装包拷贝到该目录
    XCode免升级支持iOS设备调试

  3. 设置完成之后重启XCode

相关文章:

  • 2021-09-09
  • 2021-06-21
  • 2021-09-16
  • 2022-12-23
  • 2021-05-27
猜你喜欢
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2022-03-04
  • 2021-10-15
相关资源
相似解决方案