Forrest logo
back to the xcodebuild tool

xcodebuild:tldr:9ef52

xcodebuild: Show SDKs.
$ xcodebuild -showsdks
try on your machine

The "xcodebuild -showsdks" command is used in macOS terminal or command-line interface to display the list of available SDKs (Software Development Kits) that are installed on your system.

SDKs provide tools, libraries, and frameworks for developing software for a specific platform or operating system. In the case of Xcode, the command-line tool "xcodebuild" is used to build, analyze, and test Xcode projects.

The "xcodebuild -showsdks" command specifically lists the SDKs available for use with Xcode. This includes iOS SDKs for developing iOS applications, macOS SDKs for developing macOS applications, and other specific SDKs for various platforms.

The command will provide output that lists the available SDKs along with their version numbers and corresponding paths on your system. It can be useful in determining which SDKs are installed and can be targeted while building or testing Xcode projects from the command-line interface.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the xcodebuild tool