rursache

Use iOS 10.3 SDK in Xcode 9

Sep 29th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Add Comment
Please, Sign In to add comment