Not able to enable in-app-purchase via codemagic #2955
Unanswered
mixalisaspr
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Dear Damilola,
The provisioning profile *does *contain the In-app purchase capability.
I have verified the name of the provisioning profile in the codemagic log
and in apple developer.
I have also tried deleting and recreating the profile, however
without success.
Is there any additional configuration needed on codemagic?
…On Wed, Feb 5, 2025 at 12:54 PM Damilola Alimi ***@***.***> wrote:
Hello @mixalisaspr <https://github.com/mixalisaspr>,
The build fails because the provisioning profile you are using does not
contain the required entitlement.
You need to go to AppleDeveloper
<https://developer.apple.com/account/resources/identifiers/list> page,
find the bundle identifier from that provisioning profile
(com.experiencelogbook) and enable the in-app-purchase capability
—
Reply to this email directly, view it on GitHub
<#2955 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6KK3VVKVB2D5OESLGODHD2OH3VVAVCNFSM6AAAAABWOJR7PKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMBWHA2TMMA>
.
You are receiving this because you were mentioned.Message ID:
<codemagic-ci-cd/codemagic-docs/repo-discussions/2955/comments/12068560@
github.com>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
I have set up in-app purchases in codemagic.yaml, Runner.entitlements, Info.plist, etc and also activated the capabilities in apple developer.
I have checked provisioning profile and it includes the in-app purchase.
However I am always getting the following error:
Archiving com.XXX...
Automatically signing iOS for device deployment using specified development team in Xcode project: XXX
Running pod install... 44.4s
Running Xcode build...
Xcode archive done. 6.3s
Failed to build iOS app
Error (Xcode): Provisioning profile "XXX" doesn't include the com.apple.developer.in-app-purchase entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update.
/Users/builder/clone/ios/Runner.xcodeproj
It appears that there was a problem signing your application prior to installation on the device.
Verify that the Bundle Identifier in your project is your signing id in Xcode
open ios/Runner.xcworkspace
Also try selecting 'Product > Build' to fix the problem.
Encountered error while archiving for device.
Expected results
Enable in-app purchases
Actual results
Build fails
Build id (optional)
67a1e98970fa3c0a03205fe0
Beta Was this translation helpful? Give feedback.
All reactions