aaaaaaaaaaaa
代码改变世界

xcode如何支持8.0以下

2018-02-28 14:30  二进制乐谱  阅读(365)  评论(0编辑  收藏  举报

1.

shell打开

open  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

 

https://github.com/devdawei/XcodeDeviceSupport下载放到这个目录 

 

2.

open 

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

修改文件权限

 

sudo chmod 777 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist

找到,并增加自己要加的ios版本

 

结束xcode进程

重新启动

 

aaaaaaaaaaaaa