Not able to enable in-app-purchase via codemagic #2955
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceI have set up in-app purchases in codemagic.yaml, Runner.entitlements, Info.plist, etc and also activated the capabilities in apple developer. However I am always getting the following error: Archiving com.XXX... 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 Also try selecting 'Product > Build' to fix the problem. Expected resultsEnable in-app purchases Actual resultsBuild fails Build id (optional)67a1e98970fa3c0a03205fe0 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
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.
-
@mixalisaspr Hi, has your issue been resolved? I’m facing a similar problem and have already tried manual signing, but still no luck 😕 |
Beta Was this translation helpful? Give feedback.
Hi Nia, I have resolved the issue.
At first, in-app purchases shouldn't be in the entitlements file!
How I solved it: I took a subscription on MacIncloud, configured the in-app capability, also tried changing various configurations, so it generates automatically the required files (instead of me creating them), and then I tried publishing again with CodeMagic and it worked. This means that one of these changes updated a file that was wrongly created, but I don't know exactly which one