# apple_toolchain

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/AppleToolchainApi.java" %} {% dynamic setvar version "7.5.0" %} {% dynamic setvar original_path "/rules/lib/builtins/apple_toolchain" %} {% include "_buttons.html" %} Utilities for resolving items from the Apple toolchain.

## Members

- developer_dir
- platform_developer_framework_dir
- sdk_dir

## 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.