xxccrruunn
xxccrruunn - run or locate development tools
SYNOPSIS
xxccrruunn [-ssddkk SDK] -ffiinndd
xxccrruunn [-ssddkk SDK] [-lloogg]
<[ ] > [ ] DESCRIPTION
xxccrruunn provides a means locate or invoke coexistence- and platform-aware
developer tools from the command-line, without requiring users to modify
makefiles or otherwise take laborious or inconvenient measures to adopt Xcode's multiple tool chains.xcode-select is used to specify which installation of Xcode is used, and
may be overridden by the DEVELOPERDIR environment variable. The SDK defaults to the current OS SDK, and can be specified by SDKROOTenvironment variable or the -sdk flag (which takes precedences over SDK-
ROOT). UUSSAAGGEE The first usage returns the full path to the found toolname. The second usage executes toolname with the given toolarguments. The last syntax is when xxccrruunn replaces any of the standard UNIX developer tools (typically in /usr/bin). In this case, xxccrruunn will use its tool name to locate the corresponding tool within evaluated DEVELOPERDIR and SDK. If the tool is not named xxccrruunn , toolarguments are not parsed by xxccrruunn. OOPPTTIIOONNSS-vveerrbboossee
display information about how the redirected path is constructed.-nnoo-ccaacchhee
don't consult the cache when looking up values. In effect, causes the cache to be refreshed.-ssddkk SDK
specifies which SDK to use. Overrides any SDKROOT set in the envi-
ronment.-lloogg print the full command line that is invoked.
-ffiinndd
print the full path to the tool. ENVIRONMENTDEVELOPERDIR - specifies the search path for locating the current
developer tools (overrides xcode-select default).
SDKROOT - specifies the SDK to use; overriden by the command line -sdk
flag.xcrunlog - same as specifying -log
xcrunnocache - same as specifying -no-cache
xcrunverbose - same as specifying -verbose
DIAGNOSTICSWhen xxccrruunn is invoked with the name xxccrruunn , the flags -log and -verbose
are useful debugging aids. The flag -no-cache can be used to bypass
cache lookup. When xxccrruunn as taken the place of another tool, the arguments are those of the tool replaced, and the various xxccrruunn flags can't be used. In this case, use the specific environment variables instead.SEE ALSO
xcodebuild -find Xcode coexistence