ExportArchive fails with ‘No profiles for my bundle id on Codemagic, but works locally #3027
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceIn my codemagic.yaml i call by build.sh script to build my artifact after extracting my env from the tag created
3.My final build script calls: 4.Locally (Xcode + Apple ID set up), the archive and export succeed for dev. On Codemagic’s VM, it fails with “No profiles for ‘com.oaxis.cdTestDev’ were found” during -exportArchive. my Current Codemagic.yaml file
My current build.sh
Expected resultsThe build should produce a .ipa for com.oaxis.cdTestDev without error, just like it does locally. Actual resultsThe build archives successfully (no errors in xcodebuild archive). Codemagic logs also show “Saved export options to /Users/builder/export_options.plist” from xcode-project use-profiles, but my script uses a different plist (ios/scripts/ExportOptions-dev.plist). Build id (optional)67d72c29562cb797d4fa91f9 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello @OmarHamed553,
Please can you make changes to this such that the build argument has |
Beta Was this translation helpful? Give feedback.
Hello @OmarHamed553,
This seems to be an issue with the
exportOptions.plist
file you are specifying. You are making use ofExportOptions-dev.plist
while there is only one export options file which is theexport_options.plist
gotten in this step:Please can you make changes to this such that the build argument has
\ --export-options-plist=/Users/builder/export_options.plist