apple-foundation-models changedcli-sdks-libraries/libraries/apple-foundation-models
Nearest release: v2.1.326, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+13added
Lines−5removed
From line
146
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits15to this page, all time
The whole hunk
from line 146, old and new numbered
/
from line 146
146146 App Attest requires a physical device. The Simulator, and hardware without a Secure Enclave, cannot perform App Attest. Use `.apiKey` while iterating in the Simulator, and `.appAttest` when running on a device.
147147</Note>
148148
149To set up App Attest, you need your Apple Developer Team ID and the admin, owner, or primary owner role in your organization. Configure your Xcode project and register your app in the [Claude Console](https://platform.claude.com/):
149To set up App Attest, you need your Apple Developer Team ID and the admin, owner, or primary owner role in your Claude Console organization. Configure your Xcode project and register your app in the [Claude Console](https://platform.claude.com/):
150150
1511511. In Xcode, add the **App Attest** capability to your app target under **Signing & Capabilities**.
1522. In the Claude Console, go to the [App integrations](https://platform.claude.com/settings/workspaces/default/app-integrations) page (`platform.claude.com/settings/workspaces/default/app-integrations`). Each app integration belongs to one workspace. Select the workspace you want in the workspace picker in the sidebar.
1533. Click **Create app integration** and enter a name, your Apple Developer Team ID, and one or more bundle IDs (up to 32).
1544. Copy the client ID (`clid_...`) from the integration’s **Overview** tab and pass it to your app’s Claude configuration.
1522. In the Claude Console, go to the [App integrations](https://platform.claude.com/settings/app-integrations) page (`platform.claude.com/settings/app-integrations`) and click **Create app integration**.
1533. Enter a name. From the **Workspace** dropdown menu, select the workspace to bill for the app’s usage. Each app integration belongs to one workspace, which you can’t change later.
1544. Enter your Apple Developer Team ID and one or more bundle IDs (up to 32), then click **Create app integration**.
1555. Copy the client ID (`clid_...`) from the integration’s **Overview** tab.
1566. In your app, pass the client ID to [`.appAttest(clientID:)`](https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/apple-foundation-models#app-attest-production).
155157
156158The first time your app uses Claude on a device, the app requests a challenge from Anthropic, attests the device with Apple’s `DCAppAttestService`, and exchanges the verified attestation for an access token. The Claude for Foundation Models package runs this flow automatically and requests new tokens as they expire; there is no attestation code for you to write.
157159
158160Tokens are scoped to your workspace, expire after 1 hour, and authorize only [Messages API](https://platform.claude.com/docs/en/api/messages/create) calls. They carry no end-user identity: App Attest identifies your app, not the person using it, so handle any per-user logic in your app.
159161
160To stop a compromised or retired app, revoke its integration. In the Claude Console, go to the [App integrations](https://platform.claude.com/settings/workspaces/default/app-integrations) page (`platform.claude.com/settings/workspaces/default/app-integrations`). Each app integration belongs to one workspace. In the workspace picker in the sidebar, select the workspace that holds the integration. Select the integration and click **Revoke**, then confirm. Revoking an integration revokes its outstanding tokens, and its registered devices can no longer request new ones. Revocation is permanent, so create a new app integration to restore access.
162To stop a compromised or retired app, revoke its integration. Revocation is permanent and covers every bundle ID in the integration. It revokes the integration’s outstanding tokens, and devices can no longer request new ones.
163
1641. In the Claude Console, go to the [App integrations](https://platform.claude.com/settings/app-integrations) page (`platform.claude.com/settings/app-integrations`).
1652. Find the integration. The list covers every workspace in your organization, and the **Workspace** column shows which one each integration belongs to. To narrow the list to one workspace, select it in the **Workspace** filter.
1663. At the end of the integration’s row, open the **More actions** menu (three dots) and select **Revoke**, then confirm.
167
168To restore access, create a new app integration and update your app to use its client ID.
161169
162170### Proxy (production)
163171
No line in this hunk matches that.