iOS系统版本较高同时Xcode版本较低真机调试遇到的问题

iOS系统版本较高同时Xcode版本较低真机调试容易出现如下报错:

1.真机调试提示Please reconnect the device问题解决
2.Please check the connection to the device, and review all errors in the Devices and Simulators window

这两个报错的出现,重启手机可能有用,但最重要的是要:

到https://github.com/filsv/iPhoneOSDeviceSupport找到手机系统对应的版本,把下载好的对应版本文件夹放入到
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport目录中,然后重启xcode即可完美解决。

你可能感兴趣的:(常识原理,swift)