I am attempting to arrange codemagic ios stream. I wish to construct ipa and push it to TestFlight. I’ve created codemagic api key in AppStoreConnect, and created Developer & Distribution Certificates by way of Codemagic interface by Producing a brand new code signing certificates choice. I additionally created a Provisioning profile for my app and it says that Push Notification Functionality is enabled.
However once I begin the method I’ve an error:
Encountered error whereas creating the IPA:
error: exportArchive: "Runner.app" requires a provisioning profile with the Push Notifications function.
I am new to codemagic and tried to do all steps by docs, however I am unable to perceive this drawback 🙁 Perhaps somebody will help to repair the issue?
That is my stream:
ios-workflow-id:
title: iOS Pattern Workflow
integrations:
app_store_connect: CodeMagic
atmosphere:
vars:
APP_ID: #########
ios_signing:
provisioning_profiles:
- Codemagic
certificates:
- Development_Certificate
- Distribution_Certificate
scripts:
- title: Arrange code signing settings on Xcode undertaking
script: |
xcode-project use-profiles
- title: Get Flutter packages
script: |
flutter packages pub get
- title: Set up pods
script: |
discover . -name "Podfile" -execdir pod set up ;
- title: Flutter construct ipa
script: |
BUILD_NUMBER=$(($(app-store-connect get-latest-app-store-build-number "$APP_ID") + 1))
flutter construct ipa --release
--build-name=1.0.0
--build-number=$BUILD_NUMBER
artifacts:
- construct/ios/ipa/*.ipa
publishing:
app_store_connect:
auth: integration
submit_to_testflight: true
Code signing logs:
Configure code signing settings
Looking for information matching /Customers/builder/Library/MobileDevice/Provisioning Profiles/*.mobileprovision
Looking for information matching /Customers/builder/Library/MobileDevice/Provisioning Profiles/*.provisionprofile
Listing out there code signing certificates in keychain /Customers/builder/Library/codemagic-cli-tools/keychains/03-02-23_smdje8o8.keychain-db
Looking for information matching /Customers/builder/clone/**/*.xcodeproj
Accomplished configuring code signing settings
- Utilizing profile "Codemagic" [717112ed-c3ca-45b5-946a-efe6d07dffcc] for goal "Runner" [Debug] from undertaking "Runner"
- Utilizing profile "Codemagic" [717112ed-c3ca-45b5-946a-efe6d07dffcc] for goal "Runner" [Profile] from undertaking "Runner"
- Utilizing profile "Codemagic" [717112ed-c3ca-45b5-946a-efe6d07dffcc] for goal "Runner" [Release] from undertaking "Runner"
Generated choices for exporting the undertaking
- Methodology: app-store
- Provisioning Profiles:
- com.fdforge.dev: Codemagic
- Signing Certificates: Apple Distribution
- Signing Model: handbook
- Workforce Id: #####
Saved export choices to /Customers/builder/export_options.plist