问题描述
iPhone升级后,发现XCode无法真机调试。提示:: which may not be supported by this version of Xcode
发现是XCode版本过老,可以更新XCode,但更新一般较慢。最快的解决方法如下。
解决
1.去下述链接下载缺少的包(XCode报错缺哪个版本的包就下哪个zip)
https://github.com/xushuduo/Xcode-iOS-Developer-Disk-Image/releases
备用链接:https://github.com/filsv/iPhoneOSDeviceSupport
2. 快捷键command + shift + G 前往文件夹:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport