Skip to content

Instantly share code, notes, and snippets.

@hyuni
Created November 3, 2019 04:25
Show Gist options
  • Save hyuni/8dc8d4a61711a9b84df1a9a8309b34c2 to your computer and use it in GitHub Desktop.
Save hyuni/8dc8d4a61711a9b84df1a9a8309b34c2 to your computer and use it in GitHub Desktop.
bash shell - Xcode 10.3 on High Sierra
#!/bin/bash
#open Xcode_10.3.xip -a "Archive Utility"
cp -pi /Applications/Xcode_10.1.app/Contents/Developer/usr/bin/xcodebuild ~/Downloads/Xcode.app/Contents/Developer/usr/bin/
for bundle in ~/Downloads/Xcode.app{,/Contents/Developer/Applications/Simulator.app};
do
echo 'bundle ==> ' $bundle
defaults write "$bundle"/Contents/Info LSMinimumSystemVersion -string 10.13.6;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment