Search code examples
continuous-integrationcodemagic

Codemagic `Fetch signing files` script exited with status code 9


Hello i'm new at flutter and don't have a mac, i'm use Codemagic, i have the keys been set at the codemagic.yaml but get the error:

Log:

Executing AppStoreConnect action fetch-signing-files failed unexpectedly. Detailed logs are available at "/var/folders/m7/h1mg7c7x40ddjz6mxjxm3htr0000gn/T/codemagic-23-11-21.log". To see more details about the error, add `--verbose` command line option.
Executing AppStoreConnect action fetch-signing-files failed unexpectedly. Detailed logs are available at "/var/folders/m7/h1mg7c7x40ddjz6mxjxm3htr0000gn/T/codemagic-23-11-21.log". To see more details about the error, add `--verbose` command line option.


Build failed :|
Step 3 script `Fetch signing files` exited with status code 9


Build failed :|
Step 3 script `Fetch signing files` exited with status code 9

Script part of the codemagic.yaml:

- name: Fetch signing files
    script: |
                app-store-connect fetch-signing-files $BUNDLE_ID --type IOS_APP_STORE --create

Am i forget anything?


Solution

  • I believe this PR introduces better error handling for such kind of errors. The PR was merged early today and you can run a new build to see detailed error message.

    And from the changes it seems you provided a wrong value for private key.