iPhone手机系统升级到10.3之后,你会发现无法进行真机测试了,并且提示Could not locate device support files或者Could not find Developer Disk Image,This iPhone is running iOS 10.3, which may not be supported by this version of Xcode.原因是Xcode 的DeviceSupport里面缺少了iOS 10.3的SDK。 打开Finder找到应用程序文件夹 在里面找到XCode右键点击XCode-->显示包内容 Contents-->Developer-->Platforms-->iPhoneOS.platform-->DeviceSupport /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 然后你就能看到你的Xcode支持的真机测试的一些系统型号对应的文件。 把你找到的 10.3文件夹拖到XCode8的该目录下就可以了,重启Xode就可以真机测试了