In-App Purchase Grayed Out & Provisioning Profile Error

Hello,

I’m facing an issue with enabling In-App Purchases (IAP) for my iOS app, and it’s causing provisioning errors during the build process.

Issue:

•	In Apple Developer Portal → Certificates, Identifiers & Profiles, the In-App Purchase capability is checked but grayed out, so I can’t modify it.
•	In Xcode, under Signing & Capabilities, I don’t see In-App Purchase listed.
•	When trying to build, I get the following error:
Provisioning profile “BillionMines_Dev_Profile” doesn’t include the com.apple.developer.in-app-purchase entitlement.
•	Automatic signing in Xcode fails with:
Xcode failed to provision this target.

What I Have Tried:

1.	Verified that my App ID is explicitly defined (not a wildcard ID).
2.	Regenerated and downloaded a new Provisioning Profile, ensuring it matches my app.
3.	Confirmed that In-App Purchase is enabled in App Store Connect under Features.
4.	Cleaned the build folder and restarted Xcode.
5.	Manually added com.apple.developer.in-app-purchase to my .entitlements file.

Questions:

•	Why is the In-App Purchase option grayed out in Certificates, Identifiers & Profiles?
•	How can I ensure my provisioning profile includes the com.apple.developer.in-app-purchase entitlement?
•	Are there additional steps required to fully activate In-App Purchases?

Any help would be greatly appreciated!

Thanks in advance.

Answered by DTS Engineer in 827434022

I just responded to a very similar issue on this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I just responded to a very similar issue on this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

In-App Purchase Grayed Out & Provisioning Profile Error
 
 
Q