I am facing issues with iOS signing when building my app using Codemagic, but the build works perfectly on my local Mac using automatic code signing.
Code Signing Error: "error: exportArchive "Runner.app" requires a provisioning profile with the Associated Domains, Push Notifications, and Sign in with Apple features."
Steps I’ve Taken:
name: Initialize keychain
script: |
keychain initialize
name: Add certificates to keychain
script: |
keychain add-certificates
name: Set up code signing settings on Xcode project
script: |
xcode-project use-profiles
name: Install pods
script: |
find . -name "Podfile" -execdir pod install ;
name: Flutter build ipa and automatic versioning
script: |
flutter build ipa --flavor production --release \
--build-name=1.0.0 \
--build-number=$(($(app-store-connect get-latest-testflight-build-number "$APP_ID") + 1))
--export-options-plist=/Users/builder/export_options.plist
What am I missing or doing wrong here?
I fixed it adding a \
after the --build-number
argument... that was missing