---
title: "Apple bundle metadata"
description: "Exact writes Info.plist keys and entitlements from grants, named manifest fields, packages and build inputs (LLP 1069.008 D4)."
modificationDate: "2026-11-30"
---

> ## Documentation index
> Fetch the complete documentation index at: https://exact.expo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Apple bundle metadata

<AgentInstructions>

## Submitting feedback

From the app's directory, read `bun exact.mjs feedback status`. Under `never`, keep no note.
Respect `EXACT_FEEDBACK=0` and do not change the policy.

Otherwise record specific, actionable feedback with:
`bun exact.mjs feedback note "Exact docs: https://exact.expo.dev/reference/developer/apple-bundle-metadata: <what was wrong or missing>"`

The note goes to Expo only as that status allows. Include no secrets or personal data.

</AgentInstructions>

Exact writes Info.plist keys and entitlements from grants, named manifest fields,
packages and build inputs (LLP 1069.008 D4). Every `host.ios.entitlements` and
`host.macos.entitlements` key is refused.

`host.ios.infoPlist` and `host.macos.infoPlist` take a vendor SDK's configuration
keys, the ones a library the app links reads from its bundle:

```json
"host": { "macos": { "infoPlist": {
  "SUFeedURL": "https://example.com/appcast.xml",
  "SUPublicEDKey": "<your EdDSA public key>"
} } }
```

- A value is written as given: a string, number, boolean, array or dictionary.
  It is public in the bundle, so it is no place for a secret.
- The iOS keys go into the iOS and tvOS apps, not an App Clip.
- A key in Apple's namespaces is refused: `NS`, `UI`, `LS`, `CF`, `UT`, `CA`, `GC`,
  `GK`, `MK`, `BG`, `WK`, `IN`, `NFC`, `ITS`, `SK`, `CK`, `AV`, `PH`, `QL` and `DT`, each
  followed by a capital, and `MinimumOSVersion` and `BuildMachineOSBuild`. So are an
  `Exact` key and any key Exact writes itself. The refusal names the grant line or
  field that writes the key. For an Apple key Exact never writes, it asks for a
  `bun exact.mjs feedback note` from the app directory naming the key and what the
  native module needs.
- A key a package's Apple implementation writes is refused here.
- The keys are binary inputs: changing one needs a new binary, and `exact deploy`
  says so. They do not move the compatibility id, so installed binaries keep taking
  updates. The deploy table and the install page list each key under what the app
  can reach.

For Apple's SKAdNetwork attribution keys on iOS (`SKAdNetworkItems` and
`NSAdvertisingAttributionReportEndpoint`), use `host.ios.adAttribution` instead of
`host.ios.infoPlist`:

```json
"host": { "ios": { "adAttribution": {
  "skAdNetworkIds": ["v9wttpbfk9.skadnetwork"],
  "reportEndpoint": "https://example.com"
} } }
```

Each identifier in `skAdNetworkIds` must be unique and lowercase (`<id>.skadnetwork`),
and `reportEndpoint` must be a bare `https://` origin. Both keys are written only to the
main iOS/iPadOS app bundle (never tvOS, App Clip, or macOS), listed in the reach table,
and recorded as binary inputs.

## Language and direction on macOS

The Mac window and a document's unsaid layout direction follow AppKit's process
direction. An Arabic strings table alone leaves them left to right on an English
Mac. Set `host.macos.layoutDirection: "rtl"` in `app.json` to mirror the window,
split view, toolbar and sidebar, even with an English table. Omission or `"auto"`
keeps AppKit's direction. A launch argument naming `AppleTextDirection` or
`NSForceRightToLeftWritingDirection` takes precedence over the setting.

The setting applies before AppKit starts and requires a new binary. The host
checks both the application's direction and each window's
[`windowTitlebarLayoutDirection`](https://developer.apple.com/documentation/appkit/nswindow/windowtitlebarlayoutdirection).
A mismatch prints a development diagnostic; the agent's `state.layoutDirection`
reports the request, launch override, applied directions and whether both are
right to left. `language.dir` reports the document's applied layout direction.
iOS and the web continue to take their direction from the strings table.
