Back to Bazel

Apple Toolchain

docs/versions/6.5.0/rules/lib/apple_toolchain.mdx

9.1.02.3 KB
Original Source
<html devsite> <head> <meta name="project_path" value="/_project.yaml"> <meta name="book_path" value="/versions/6.5.0/_book.yaml"> </head> <body> <h1 class="page-title" id="modules.apple_toolchain">apple_toolchain</h1> <!-- {% 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="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="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="string.html">string</a> apple_toolchain.sdk_dir()</pre></p>

Returns the platform directory inside of Xcode for a given configuration.
</body> </html> <!-- {% endraw %} -->