首先須要 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