Help: IAP Works in Xcode but Not in TestFlight – Cannot Link IAP to Version for Review

Hi everyone,

I've been going back and forth with Apple’s review team for over 10 days now, and I'm still unable to get my first In-App Purchase (IAP) working correctly.

Here's what’s happening:

✅ The IAP works perfectly when I build and run directly from Xcode. ❌ However, when I test the app via TestFlight, tapping the purchase buttons does nothing—the IAP sheet doesn't appear. Key issue (I think): I believe the IAP hasn't been submitted properly for review. On App Store Connect, I cannot select the IAP under the “In-App Purchases” section of the version submission page. It's grayed out or not listed at all. As a result, Apple keeps rejecting my binary due to the IAP not being included in the review.

What I’ve already done:

Created the IAP (non-consumable) Set pricing and cleared all errors Checked Bundle ID, Product ID, and entitlements Added In-App Purchase capability to the app target Uploaded the binary via Xcode Waited multiple times for status updates My questions:

What’s the correct process to link the IAP to a specific app version if it doesn't show up in the version page? Could this be an issue with App Store Connect metadata or approval timing, or am I missing something in Xcode/build settings? Is there any way to force re-sync the IAP so it appears when submitting the build? Has anyone resolved a similar issue recently? This process has been incredibly frustrating, and the feedback from the review team so far has been very vague. I would really appreciate any detailed insight or steps to ensure the IAP is submitted correctly and works on TestFlight.

Thank you in advance!

The IAP works perfectly when I build and run directly from Xcode. ❌ However, when I test the app via TestFlight, tapping the purchase buttons does nothing—the IAP sheet doesn't appear. Key issue (I think): I

You don't need to submit In-App Purchases for review to test them in the sandbox environment. TestFlight uses the sandbox for In-App Purchases. For more information, see Testing In-App Purchases with sandbox.

If your Xcode project contains a StoreKit configuration file, disable it, then build and run it on a device. Does the same issue still occur? If it does, see TN3186: Troubleshooting In-App Purchases availability in the sandbox.

Added In-App Purchase capability to the app target

This is an unnecessary step. Remove this capability from the Capability list in your Xcode project. Confirm that you building your Xcode project with a provisioning profile enabled for In-App Purchase.

I believe the IAP hasn't been submitted properly for review. On App Store Connect, I cannot select the IAP under the “In-App Purchases” section of the version submission page. It's grayed out or not listed at all.

The status of an In-App Purchase must be Ready to Submit before you can submit it for review. If the In-App Purchase doesn’t have this status, complete any missing information such as price or localization for the subscription group display name.

What’s the correct process to link the IAP to a specific app version if it doesn't show up in the version page?

An In-App Purchase appears in the “Add In-App Purchases or Subscriptions” dialog once it has a Ready to Submit before status. For more information, see Submit an in-app purchase.

Help: IAP Works in Xcode but Not in TestFlight – Cannot Link IAP to Version for Review
 
 
Q