真机编译iOS7的方法
步骤炒鸡简单:
- 将iOS7.0/iOS7.1的SDK放到Xcode这个目录下(iOS7 SDK请百度自行下载):
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport; - 进入目录:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk 打开“iPhoneOS.sdk”文件夹和“SDKSettings.plist”文件的读写权限; - 打开“SDKSettings.plist”文件,按图添加7.0/7.1(⚠️一定要按照从小到大的顺序添加)然后重启Xcode就可以了。