In xcode, the signing&capabilities TAB for ios says:
Automatic signing failed
Xcode failed to provision this target. Please file a bug report at <https://feedbackassistant.apple.com> and include the Update Signing report from the Report navigator.
Provisioning profile "iOS Team Provisioning Profile: com.kikk.morsecode" doesn't include the com.apple.developer.in-app-purchase entitlement.
Even though I've already configured the corresponding Certificates, Identifiers & Profiles in developer
Does anyone have the same problem?
My Version of xcode is Version 15.4 (15F31d), running on m2pro.
Do you have a .entitlements
file that includes com.apple.developer.in-app-purchase
?
If so, I recommend that you remove that.
In-app purchase isn’t gated by an entitlement. If you search our docs for com.apple.developer.in-app-purchase
, you’ll find no references to such an entitlement. Rather, in-app purchase is available to any app that uses an explicit App ID (as opposed to a wildcard App ID).
Consider this:
-
Create a new project from Xcode’s iOS > App template.
-
In Signing & Capabilities, add the In-App Purchase capability.
-
Select your device as a run destination.
-
Choose Product > Build.
-
Now dump the entitlements of the build app:
% codesign -d --entitlements - Test775663.app … [Dict] [Key] application-identifier [Value] [String] SKMME9E2Y8.com.example.apple-samplecode.Test775663 [Key] com.apple.developer.team-identifier [Value] [String] SKMME9E2Y8 [Key] get-task-allow [Value] [Bool] true
As you can see, there’s no com.apple.developer.in-app-purchase
entitlement in play.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"