IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/apple_toolchain

You can read about the migration, and let us know what you think.

Extensions > API reference > apple_toolchain

apple_toolchain

Utilities for resolving items from the Apple toolchain.

developer_dir

string apple_toolchain.developer_dir()

Returns the Developer directory inside of Xcode for a given configuration.

platform_developer_framework_dir

string apple_toolchain.platform_developer_framework_dir(configuration)

Returns the platform frameworks directory inside of Xcode for a given configuration.

Parameters

Parameter Description
configuration required
The apple configuration fragment.

sdk_dir

string apple_toolchain.sdk_dir()

Returns the platform directory inside of Xcode for a given configuration.