Dev build fails codesigning: provisioning profile doesn't include the Apple Pay capability
iOSConfirmed fix
Expo + @stripe/stripe-react-native config plugin
Error
provisioning profile doesn't include the Apple Pay capabilityCause
The dev variant uses its own bundle ID (e.g. com.example.app.dev). The Stripe plugin requested the Apple Pay merchant entitlement for every variant, but only the production App ID had Apple Pay enabled in the developer portal.
Fix
Either enable Apple Pay on the dev App ID in the Apple Developer portal, or only pass merchantIdentifier to the Stripe plugin for the production variant in app.config.ts. Dev builds rarely need working Apple Pay.
More iOS errors
- pod install fails: react-native-firebase SPM + static linkage is not supported[!] [react-native-firebase] SPM + static linkage is not supported (target(s): ...). firebase-ios-sdk's Swift Package products are automatic libraries (not `type: .dynamic`), so each react-native-firebase pod that resolves Firebase via SPM embeds its own copy.
- iOS build fails in react-native-skia: 'third_party/base64.h' file not foundnode_modules/@shopify/react-native-skia/cpp/api/third_party/base64.cpp:7:10: fatal error: 'third_party/base64.h' file not found
- EAS iOS build stops at signing: provisioning profile expired
- Fresh SDK upgrade fails at pod install with a Mapbox clash, while a sibling app on the same SDK builds