Every time you upload a build, App Store Connect asks whether your app uses encryption. Most indie apps only use the encryption built into iOS, and for them the answer takes one line in Info.plist. This guide explains the question and the few cases where it gets harder.
Why Apple asks
When you send a build to TestFlight or the App Store, it goes to a server in the United States. Apple explains that if you distribute the app outside the U.S. or Canada, it is subject to U.S. export laws, wherever your company is based. An app that uses or contains encryption counts as an export of encryption software, so it must follow U.S. export rules and the import rules of the countries where you sell it.
Source: Apple, Complying with encryption export regulations.
The short answer for most apps
| Your app | Info.plist | Documents to upload |
|---|---|---|
| Uses no encryption, or only encryption in Apple's operating system (for example HTTPS with URLSession) | ITSAppUsesNonExemptEncryption = NO | None |
| Uses a standard algorithm that is not provided by the OS | ITSAppUsesNonExemptEncryption = YES, plus the code Apple gives you | French encryption declaration, if you distribute in France |
| Uses proprietary or non-standard algorithms | ITSAppUsesNonExemptEncryption = YES, plus the code Apple gives you | U.S. CCATS and the French declaration |
Sources: Apple, ITSAppUsesNonExemptEncryption and Apple, Export compliance documentation for encryption.
Set the key once and stop answering
Add this to your app's Info.plist (in Xcode: your target, then Info, then Custom Target Properties):
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
Apple says that without this key, App Store Connect walks you through the export compliance questionnaire every time you upload a new version. With it, the question is answered by the build itself.
Set it to NO only if the app, including every third-party library it links against, uses no encryption or only exempt encryption. Apple's example of exempt use is the encryption built into the operating system, such as HTTPS connections made with URLSession.
Third-party libraries count
The key covers your whole app, not just your code. Before you set NO, check your dependencies. A networking or analytics SDK that uses the system's TLS is usually fine. A library that brings its own cryptography, such as an end-to-end messaging or VPN library, is the kind of case that can need documents. If you are not sure, read what the library's maintainers say about export compliance.
When you need documents
If your encryption is not exempt, you upload documents in App Store Connect (Apps, App Information, App Encryption Documentation). Apple reviews them, and after approval gives you a code. You put that code in the ITSEncryptionExportComplianceCode key of your Info.plist and set ITSAppUsesNonExemptEncryption to YES.
Apple says complete submissions are usually cleared in about two business days, so upload documents before you send the build to App Review or TestFlight review.
Sources: Apple, ITSEncryptionExportComplianceCode and Apple, Determine and upload app encryption documentation.
The French declaration. France controls the import of encryption. Apple notes that the French declaration is only required if you distribute your app on the App Store in France, and only when your encryption goes beyond what the operating system provides.
"Missing Compliance" in TestFlight
If a build has no answer to the encryption question, TestFlight marks it Missing Compliance and testers cannot install it. To fix it, open the TestFlight tab in App Store Connect, click Manage next to the build and answer the questions. Then add the Info.plist key so the next build does not stop at the same place.
Source: Apple, Provide export compliance information for beta builds.
The year-end report
Apple's page adds one more point: if your app uses exempt forms of encryption, you might be required to submit a year-end self-classification report to the U.S. government. If you use non-exempt encryption and provide documentation to Apple, that report is not necessary. Whether it applies depends on how your app uses encryption, so for anything beyond HTTPS, check the U.S. Bureau of Industry and Security rules or ask a lawyer. This guide is general information, not legal advice.
Frequently asked questions
Should I set ITSAppUsesNonExemptEncryption to NO?
Yes, if your app and its libraries use no encryption or only the encryption built into Apple's operating system, such as HTTPS through URLSession. That is the case for most indie apps.
Does using HTTPS count as encryption?
It is encryption, but Apple gives HTTPS through the system's networking (URLSession) as an example of exempt use, which needs no documents.
Why does App Store Connect ask about encryption on every upload?
Because your Info.plist does not have the ITSAppUsesNonExemptEncryption key. Add it and the questionnaire stops appearing.
What does "Missing Compliance" mean in TestFlight?
The build has no answer to the encryption question, so testers cannot install it yet. Answer it from the TestFlight tab, then add the Info.plist key for future builds.
Keep the snippets you need for every app
Shipmate's Guide has a Files tab with the export compliance snippet ready to copy into Info.plist, next to a pre-submission checklist and links to Apple's documentation, so the questions that stop a release are answered before you upload.
