xcode8 支持 ios7 编译
首先下载支持ios7的device
在我github工程里下载
https://github.com/chenwei910101/xcode8ios7.git
解压文件后得到7.0和7.1文件夹打开DeviceSupport 打开xcode的包文件,最好直接用命令行找到DeviceSupport文件夹
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- 将7.0和7.1文件拷贝进去
如图
- 命令行打开文件夹
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/
- 找到SDKSettings.plist文件 用xcode打开
在DEPLOYMENT_TARGET_SUGGESTED_VALUES
里面添加
7.0
7.1
- 然后就可以设置Deployment Target为7.0啦