HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xcrun — Run or locate development tools and properties. More information: <https://keith.github.io/xcode-man

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrunandlocatedevelopmentclixcruntools
macos

Problem

How to use the xcrun command: Run or locate development tools and properties. More information: <https://keith.github.io/xcode-man-pages/xcrun.1.html>.

Solution

xcrun — Run or locate development tools and properties. More information: <https://keith.github.io/xcode-man-pages/xcrun.1.html>.

Find and run a tool from the active developer directory:
xcrun {{tool}} {{arguments}}


Show verbose output:
xcrun {{tool}} {{arguments}} --verbose


Find a tool for a given SDK:
xcrun --sdk {{sdk_name}}


Find a tool for a given toolchain:
xcrun --toolchain {{name}}


Display help:
xcrun --help


Display version:
xcrun --version

Code Snippets

Find and run a tool from the active developer directory

xcrun {{tool}} {{arguments}}

Show verbose output

xcrun {{tool}} {{arguments}} --verbose

Find a tool for a given SDK

xcrun --sdk {{sdk_name}}

Find a tool for a given toolchain

xcrun --toolchain {{name}}

Display help

xcrun --help

Context

tldr-pages: osx/xcrun

Revisions (0)

No revisions yet.