# Answer the export compliance question

> What Missing Export Compliance means on a build, how to have an Agent answer Apple's encryption question, and how to stop being asked for every build.

Source: https://air.build/docs/app-store/answer-the-export-compliance-question/

Apple asks whether your app uses encryption, and a build needs the answer before external testers can install it or a version can go on to release. An Agent can answer for one build, or put the answer in the app so every new build carries it.

## Where you see it

- **TestFlight** tab: open a group under **Testers**. Under **Builds**, a build that waits for the answer shows **Missing Export Compliance**. In an external group, **Set Up External Testing** opens the app's TestFlight page in App Store Connect, where you can answer it yourself. See [Share a beta with TestFlight](https://air.build/docs/app-store/test-with-testflight/#manage-a-group).
- **Store Page**, under **App Information**: the version menu shows **Waiting for Export Compliance** next to a version that waits for it.
- A notification titled **Export Compliance Needed**, with the app and the version or build. For a build it says "Answer the export compliance questions so external testers can install it."; for a version, "Answer the export compliance questions in App Store Connect so the release can continue."
- The Project's **Notifications** list has the same news, with **Open TestFlight** or **Open App Review**. Until you open the list, the Project's name at the top of the chat now and then shows **Export Compliance** with the version or build. See [Choose which chats notify you](https://air.build/docs/projects/manage-notifications/#read-a-projects-notifications).

## Know your answer

The answer is yours to give: it depends on the encryption your app uses. The `asc` help says that an app that uses no encryption, or only exempt encryption like HTTPS/TLS, answers that it uses no non-exempt encryption, and that most apps that only use HTTPS/TLS qualify as exempt. If you aren't sure, read Apple's page on [ITSAppUsesNonExemptEncryption](https://developer.apple.com/documentation/bundleresources/information-property-list/itsappusesnonexemptencryption) before you answer.

## Answer for one build

Ask in the Project's chat, for example:

```text
Build 1.4 (12) shows Missing Export Compliance. The app only uses HTTPS, so answer that it uses no non-exempt encryption.
```

1. The Agent sets the build's answer with `asc builds update --uses-non-exempt-encryption=false`, or `=true` if you said the app does use non-exempt encryption.
2. It tells you the build was updated.
3. On iPhone and iPad, pull down on the **TestFlight** tab to refresh it, and check the build's state in its group.

The Agent can pick the build by its ID, or as the app's latest build. See `builds update` in [asc: builds and TestFlight](https://air.build/docs/cli/asc-builds/#builds).

## Stop being asked for every build

When the app uses no non-exempt encryption, the answer can go in the app's `Info.plist`. The `asc` help says this ends the encryption compliance question on each TestFlight and App Store submission. Ask for example:

```text
Our app only uses HTTPS. Add the export compliance answer to the app's Info.plist so new builds carry it.
```

1. The Agent adds the answer to the app's `Info.plist` with `asc encryption declarations exempt-declare --plist`.
2. The command reports "Added ITSAppUsesNonExemptEncryption=false to …", or "Info.plist already sets ITSAppUsesNonExemptEncryption=false" if it was there already.
3. Have a new build uploaded. Builds made from now on carry the answer.

These are the two lines it adds, if you'd rather add them yourself:

```xml title="Info.plist"
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
```

This changes only the app's files: the `asc` help says it doesn't create or attach an encryption declaration in App Store Connect. Builds you uploaded before don't change: answer each of them as in [Answer for one build](https://air.build/docs/app-store/answer-the-export-compliance-question/#answer-for-one-build).

## If the app uses non-exempt encryption

Then the build's answer is `true`. For a build that waits on export compliance, `asc` says to assign it the applicable encryption declaration. An Agent can make a declaration and attach builds to it:

| Ask for | The Agent uses |
| --- | --- |
| A new encryption declaration | `asc encryption declarations create`. It needs a description of how the app uses encryption, and whether the app contains proprietary cryptography, contains third-party cryptography, and is available on the French store. |
| A document for the declaration | `asc encryption documents upload`, with the file you give it. |
| A build attached to the declaration | `asc encryption declarations assign-builds`. |

The `asc` help doesn't say which declaration or documents your app needs, and this page doesn't cover it. See Apple's page on [ITSAppUsesNonExemptEncryption](https://developer.apple.com/documentation/bundleresources/information-property-list/itsappusesnonexemptencryption). The `asc encryption` commands are listed in [asc: apps and App Store listing](https://air.build/docs/cli/asc-apps/#encryption).

## Check before you submit

Ask an Agent to validate the version before you submit it. `asc validate` checks, among other things, the attached build and its encryption declaration. See [asc: review and release](https://air.build/docs/cli/asc-release/#validate). To submit, see [Submit to App Review and release](https://air.build/docs/app-store/submit-for-review/).

If you use AirBuild from your own AI assistant, it needs the export compliance answer when it sends a build that has none to TestFlight testers, and its check before submitting lists a build with no answer. See [MCP server](https://air.build/docs/connect/mcp/).

## Questions

**A notification says the version needs export compliance.**

The version's build has no answer yet. Ask an Agent to answer it, as in [Answer for one build](https://air.build/docs/app-store/answer-the-export-compliance-question/#answer-for-one-build), or answer it in App Store Connect. Then the release can go on. See also [Submit to App Review and release](https://air.build/docs/app-store/submit-for-review/).

**I added the answer to Info.plist, but a build still shows Missing Export Compliance.**

That build was uploaded before the change. Ask an Agent to answer for that build with `asc builds update`.

**A build shows In Export Compliance Review.**

Apple is reviewing the build's export compliance. Wait until it's done. An Agent can check the build's state with `asc builds info`.

**I answered for a build, and the state hasn't changed.**

On iPhone and iPad, pull down on the **TestFlight** tab to refresh it. If it still shows **Missing Export Compliance**, ask an Agent to read the build with `asc builds info`.
