xcode upgrade code example Example: xcode update sudo rm -rf /Library/Developer/CommandLineTools xcode-select --install