docs/versions/7.2.0/rules/lib/builtins/apple_toolchain.mdx
{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/apple/AppleToolchainApi.java" %} {% dynamic setvar version "7.2.0" %} {% dynamic setvar original_path "/rules/lib/builtins/apple_toolchain" %} {% include "_buttons.html" %}
<!-- {% raw %} -->Utilities for resolving items from the Apple toolchain.
<h2>Members</h2> <ul> <li> <a href="#developer_dir">developer_dir</a> </li> <li> <a href="#platform_developer_framework_dir">platform_developer_framework_dir</a> </li> <li> <a href="#sdk_dir">sdk_dir</a> </li> </ul> <h2 id="developer_dir">developer_dir</h2>
<p><pre class="rule-signature"><a class="anchor" href="../core/string.html">string</a> apple_toolchain.developer_dir()</pre></p>
Returns the Developer directory inside of Xcode for a given configuration.
<h2 id="platform_developer_framework_dir">platform_developer_framework_dir</h2>
<p><pre class="rule-signature"><a class="anchor" href="../core/string.html">string</a> apple_toolchain.platform_developer_framework_dir(configuration)</pre></p>
Returns the platform frameworks directory inside of Xcode for a given configuration.
<!-- hide-from-toc is a class used by DevSite for the public Bazel site
(https://developers.google.com/devsite/reference/styles/headings#hide_headings_from_the_toc) -->
<h3 class="hide-from-toc">Parameters</h3>
<table class="table table-bordered table-condensed table-params">
<colgroup>
<col class="col-param">
<col class="param-description">
</colgroup>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td id="platform_developer_framework_dir.configuration">
<code>configuration</code>
</td>
<td>
required
The apple configuration fragment.
</td>
</tr>
</tbody>
</table>
<h2 id="sdk_dir">sdk_dir</h2>
<p><pre class="rule-signature"><a class="anchor" href="../core/string.html">string</a> apple_toolchain.sdk_dir()</pre></p>
Returns the platform directory inside of Xcode for a given configuration.