Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuildĮxecute xcodebuild using an alternate developer directory.Įnv DEVELOPER_DIR="/Applications/Xcode-DP.app" /usr/bin/xcodebuild FILES Use xcrun to locate xcodebuild inside the active developer directory. Run xcodebuild from the active developer directory. Xcode-select -switch /Applications/Xcode.app Yosemite use xcode-select -switch path/to/Xcode.app Sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer Select /Applications/Xcode.app/Contents/Developer as the active developer directory. Overrides the active developer directory. Xcode-select: note: install requested for command line developer tools Library/Developer/CommandLineTools -install Opens a dialog to request installation of the command tools. Requires root.įor only the current shell session, use $DEVELOPER_DIR= -r Tools can use xcrun to easily lookup tools in the developer directory,Īllowing them to function properly where the Xcode has is installed to a non-default location. Xcode-select provided tool shims (see FILES) invoke the version inside the selected directory. Applications/Xcode.app, containing the latest Xcode,Īnd /Applications/Xcode-DP.app containing a developer preview) use xcode-select -switch path/to/Xcode.appto specify the Xcode for command line tools. When multiple Xcode applications are installed (e.g. The Xcode if it is moved after installation. xcode-select Ĭontrols the location of the developer directory used by xcrun, xcodebuild, cc, and other XcodeĪnd BSD development tools as well as the locations that are searched for by man.Īllows switching between different versions of the Xcode tools and can be used to update the path to Xcode-select manages the active developer directory Mac OS X xcode-select Manages active developer directory for Xcode and BSD tools.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |