# Submit your app to the App Store

Check that your Mobile Sync integration is ready for production, and tell App Review how your app works with Mobile Sync.

**Prerequisites:** [Run a sale](/guides/payments/tap-to-pay-on-iphone/mobile-sync/run-a-sale)

To add your app to the App Store, you submit your app to Apple, and then Apple sends it for App Review. App Review is the process that Apple uses to check that all apps on the App Store meet Apple's requirements.

**Note:** If you want to release your app to beta testers first, go to [Distributing your app for beta testing and releases](https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases).

We don't control Apple's submission process or requirements. For the current requirements, go to Apple's documentation on [submitting apps](https://developer.apple.com/app-store/submitting/) and [App Review](https://developer.apple.com/distribute/app-review/).

Your app doesn't need the Tap to Pay on iPhone entitlement to work with Mobile Sync. Mobile Sync reads the card, so the entitlement applies to Mobile Sync and not to your app.

Before you add your app to the App Store, you need to:

- [Check your app is ready for production](#check-your-app-is-ready-for-production).
- [Document how your app works](#document-how-your-app-works).

<a id="check-your-app-is-ready-for-production"></a>
## Check your app is ready for production

Check the following items in the build that you plan to submit:

- Your build doesn't include any production processing terminal IDs or Payroc API keys. Your app loads them at runtime from a secure source that you control. The sample app reads them from `Credentials.json`, which is for development only.
- Your gateway client sends requests to our production environment. For more information, go to [Step 1 of Run a sale](/guides/payments/tap-to-pay-on-iphone/mobile-sync/run-a-sale#step-1-create-a-gateway-client).
- Your app registers and opens only the production URL scheme for Mobile Sync, `com.payroc.switch`. For more information, go to [Register your URL schemes](/guides/payments/tap-to-pay-on-iphone/mobile-sync/connect-your-app-to-mobile-sync#register-your-url-schemes).
- You've tested a build that runs without the Xcode debugger attached. If iOS suspends your app while Mobile Sync is on screen, the debugger hides the problem.
- Your app doesn't log payments or responses from our gateway, because the responses can contain card data.

<a id="document-how-your-app-works"></a>
## Document how your app works

During App Review, you might be asked to provide more information about how your app works. Your app depends on Mobile Sync, which is a separate app that we provide.

In the information that you give App Review, do the following:

- Explain that your app takes card payments by switching to Mobile Sync. Mobile Sync reads the card, and then returns to your app. Your app gets the result from our gateway.
- State that Mobile Sync is a live app, so a sale that a reviewer runs creates an actual financial charge.
- Describe how a reviewer can void or refund a charge in your app. For more information, go to [Void a card transaction](https://support.payroc.com/en-US/core-products/payroc-gateway/web-portal/transaction-management/void-a-transaction#void-a-card-transaction-0) and [Run a card refund on the Self-Care Portal](https://support.payroc.com/en-US/core-products/payroc-gateway/web-portal/virtual-terminal/run-a-card-refund#run-a-card-refund-on-the-self-care-portal).
- Provide a live account if a reviewer needs an account to set up Mobile Sync.

If you show your app in a demo video, show the following steps on a physical iPhone that has Mobile Sync installed:

1. Pair your app with Mobile Sync.
2. Start a sale in your app, switch to Mobile Sync, and then take the payment.
3. Return to your app, and then show the result of the sale.
