SHOW:
|
|
- or go back to the newest paste.
1 | RUN sudo ls BEFORE RUNNING THIS SCRIPT TO MAKE SURE YOU GOT PERMS | |
2 | ||
3 | put Xcode 9 in /Applications and name it Xcode.app | |
4 | put Xcode 8 in /Applications and name it Xcode8.app | |
5 | ||
6 | run the following code in console: | |
7 | ||
8 | sudo ln -s /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk | |
9 | ||
10 | sudo ln -s /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk | |
11 | ||
12 | sudo /usr/libexec/PlistBuddy -c "Set :MinimumSDKVersion 10.3" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Info.plist | |
13 | ||
14 | sudo /usr/libexec/PlistBuddy -c "Set :MinimumSDKVersion 10.3" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Info.plist |