question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS build fails for App store distribution in non-interactive mode

See original GitHub issue

Hello,

our project’s CI/CD pipeline (non-interactive mode) executes the following command

npx eas-cli@0.13.0 build --platform ios --profile $BITBUCKET_DEPLOYMENT_ENVIRONMENT --non-interactive

and stops with the message

Distribution Certificate is not validated for non-interactive builds.

The certificates are valid. The distribution mode is store. The additional option --skip-credentials-check does not help, same result there. Why do the commands stop there and do not trigger the remote Expo builds service?

On the other side following command works

npx eas-cli@0.12.0 build --platform ios --profile $BITBUCKET_DEPLOYMENT_ENVIRONMENT --non-interactive --skip-credentials-check

and the ipa artifact is created in Expo.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
dsokalcommented, May 11, 2021

Hi! Could you please install the latest version - 0.14.1 - and let me know whether the issue goes away?

0reactions
rimidalv2018commented, May 11, 2021

Closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

(expo build:ios --non-interactive) no longer works · Issue #1873
expo build:ios --non-interactive no longer works, which means we are unable to trigger the builds as part of our CI process.
Read more >
Distribution failed with error: Ap… | Apple Developer Forums
Hello I'm uploading my app to appstore connect, but it fails with the following Error. `Distribution failed with error: App Store Connect Operation...
Read more >
Can you use "expo build:ios" on a CI environment with apple 2 ...
I think the problem might be that the google cloud build machine we're using is setup with a US location, but the last...
Read more >
Internal distribution - Expo Documentation
It's possible to run internal distribution builds non-interactively in CI using the --non-interactive flag; however, if you are using ad hoc provisioning on...
Read more >
distribution certificate is not validated for non-interactive builds.
Recently came up to the exact same problem which is solved by downloading and installing Apple WWDR certificate. You can find it here:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found