下载一个需要的ios版本,
放在/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
然后修改/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/
下的info.plist
可能有权限问题。
可以用PlistBuddy 进行修改
sudo /usr/libexec/PlistBuddy -c "Set :MinimumSDKVersion 9.3" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Info.plist