Codemagic issue with provisioning profile

668

release-pipeline workflow you shared doesn't have the following mandatory steps to publish to App Store:

  • code signing configuration
  • building .ipa

Looks like it was configured for Google Play only.

Check this example https://docs.codemagic.io/yaml-quick-start/building-a-flutter-app/#ios-builds

Share:
668
Joe
Author by

Joe

Updated on December 16, 2022

Comments

  • Joe
    Joe over 1 year

    When building iOS project on Codemagic I get the following error:

    Completed configuring code signing settings
        Did not find matching provisioning profiles for code signing!
        Generated options for exporting the project
         - Method: ad-hoc
         - Provisioning Profiles: []
         - Signing Certificate: 
         - Signing Style: manual
         - Team Id:
    
    Encountered error while building IPA:
    error: Couldn't load -exportOptionsPlist: Failed to decode "provisioningProfiles". Expected to decode Dictionary<String, Any> but found an array instead.
    

    Any solution?

    codemagic.yaml

    • Mikhail Tokarev
      Mikhail Tokarev over 2 years
      hey, can you update your question with fragment codemagic.yaml file or relevant Workflow Editor settings?
    • C4s4r
      C4s4r over 1 year
      I'm using the workflow editor, but have the same issue despite having uploaded the certificate and provisioning profile. Have you found any solution to this?
  • Joe
    Joe over 2 years
    Can you be maybe more specific, what exactly part of the setup for iOS is not valid? @MikhailTokarev
  • Mikhail Tokarev
    Mikhail Tokarev over 2 years
    hey @Joe I've updated my answer, hope you will find a time to check the example by the link I shared