首先须要 Xcode 7.x。能够去 苹果开发者官网 下载。app
打开Finder, 进入文件夹:spa
Xcode 7.x.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
复制 "7.0" 和 "7.1" 文件夹,而后 粘贴 至文件夹:调试
Xcode 8.x.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Xcode 8.x.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist
Root/DefaultProperties/DEPLOYMENT_TARGET_SUGGESTED_VALUES
重启 Xcode 8.x。code
如今能够在 "iOS Deployment Target" 中选择 "7.0" 和 "7.1" 而且能够在 iOS 7.x 真机上调试。orm