osx/*: update page (#7665)

This commit is contained in:
Emily Grace Seville
2022-02-14 03:21:43 -08:00
committed by GitHub
parent b1326296cd
commit 692469016e
78 changed files with 151 additions and 107 deletions

View File

@@ -10,16 +10,16 @@
- Select a given path as the active developer directory:
`xcode-select -s {{path/to/Xcode.app/Contents/Developer}}`
`xcode-select --switch {{path/to/Xcode.app/Contents/Developer}}`
- Select a given Xcode instance and use its developer directory as the active one:
`xcode-select -s {{path/to/Xcode.app}}`
`xcode-select --switch {{path/to/Xcode.app}}`
- Print the currently selected developer directory:
`xcode-select -p`
`xcode-select --print-path`
- Discard any user-specified developer directory so that it will be found via the default search mechanism:
`sudo xcode-select -r`
`sudo xcode-select --reset`