Problem Summary
Apple's provisioning servers are not generating the com.apple.developer.storekit
entitlement for App ID com.driftnotes.app
(Team ID: 43Y6AG5NPY), making it impossible to build iOS apps for physical devices despite all configurations being correct.
Environment
- macOS: 15.3.1 (24D70)
- Xcode: 16.1 (xcode-select version 2409)
- Flutter: 3.35.2 • channel stable
- Account: Individual Developer (Kazakhstan)
- Bundle ID: com.driftnotes.app
- Team ID: 43Y6AG5NPY
Error Message
Error (Xcode): Provisioning profile "iOS Team Provisioning Profile: com.driftnotes.app" doesn't include the com.apple.developer.storekit entitlement.
/Users/vyacheslavkuzin/Desktop/FlutterProjects/DriftNotesDart/ios/Runner.xcodeproj
Steps to Reproduce
- Configure App ID with In-App Purchase capability (✅ verified in Developer Portal)
- Add In-App Purchase capability in Xcode project (✅ done)
- Configure entitlements file with StoreKit keys (✅ done)
- Enable automatic signing in Xcode (✅ done)
- Run:
flutter build ios --release
- Build completes successfully ("Xcode build done. 13,8s") but fails at signing stage
Expected vs Actual Result
- Expected: Provisioning profile should include
com.apple.developer.storekit
entitlement - Actual: Profile is created WITHOUT the entitlement, despite all configurations being correct
Configuration Details
Developer Portal
- App ID
com.driftnotes.app
has In-App Purchase capability enabled ✅ - All agreements are active in App Store Connect ✅
Xcode Project
- In-App Purchase capability added via Signing & Capabilities ✅
- Automatically manage signing: Enabled ✅
- Team: 43Y6AG5NPY (Vyacheslav Kuzin) ✅
Entitlements File (ios/Runner/Runner.entitlements)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.in-app-payments</key>
<array>
<string>merchant.com.driftnotes.app</string>
</array>
<key>com.apple.developer.storekit</key>
<true/>
</dict>
</plist>
Build Settings
CODE_SIGN_ENTITLEMENTS
: Runner/Runner.entitlements ✅PRODUCT_BUNDLE_IDENTIFIER
: com.driftnotes.app ✅DEVELOPMENT_TEAM
: 43Y6AG5NPY ✅
Troubleshooting Attempted
Multiple Attempts
- Profile Recreation: Manual and automatic profiles recreated dozens of times
- Cache Cleanup: Complete removal of:
~/Library/Developer/Xcode/DerivedData/*
~/Library/MobileDevice/Provisioning\ Profiles/*
- Flutter clean & pod cache clean
- Signing Methods: Tested both manual and automatic signing management
- Wait Periods: 48+ hours for server propagation
- Complete Profile Deletion: Removed ALL profiles from Developer account per Apple Support
Apple Support Workaround
Following Senior Advisor recommendation:
- ✅ Deleted all provisioning profiles from account
- ✅ Confirmed IAP capability in project
- ✅ Created StoreKit Configuration File for testing
- ✅ Verified automatic signing management
- ✅ Multiple "Try Again" attempts in Xcode
- Result: Problem persists
Apple Support Reference
Case #102680105923 - Senior Advisor Simone confirmed after internal team consultation that this requires engineering team attention and directed to Developer Forums.
Technical Analysis
What Works
- Flutter build completes successfully
- Pod install executes without issues (25,9s)
- Xcode build finishes successfully (13,8s)
- All dependencies resolve correctly
What Fails
- Provisioning profile generation: Server creates profile but omits StoreKit entitlement
- All profile types affected: Both manual and automatic profiles
- Consistent across configurations: Debug, Release, Profile all fail identically
Root Cause
This appears to be a server-side bug where Apple's provisioning systems are not properly correlating the App ID's In-App Purchase capability with the StoreKit entitlement generation for this specific App ID (com.driftnotes.app
).
The issue is NOT in client-side configuration - all settings match Apple's official documentation exactly. The problem occurs during the server-side provisioning profile generation process.
Request for Engineering Team
This issue requires attention from Apple's provisioning infrastructure team to resolve the server-side entitlement generation bug for App ID com.driftnotes.app
.
Impact
- Critical: Complete inability to build iOS app for physical devices
- Business: Blocking app deployment and updates
- Developer Experience: Extensive time spent on troubleshooting correctly configured setup
All configurations have been verified multiple times and match Apple's official documentation. The issue has been escalated through Apple Support (Case #102680105923) and requires engineering team intervention.