Shorebird release build for ios fails #2665
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceIf I run However, If I run run Release iOS Workflow from my project via codemagic, it fails. If needed, I can provide any file from my project. Thank you! Codemagic.yaml
Expected resultsApp uploaded to TestFlight Actual results`: Writing 99941 characters to text file /Users/builder/.pub-cache/log/pub_log.txt. (126.8s) stdout: [Process.run] git rev-parse --verify HEAD (in /Users/builder/.shorebird/bin/cache) stdout: [Process.run] git remote prune origin (in /Users/builder/.shorebird/bin/cache) stdout: Build failed :| Build id (optional)66afbf0c93766dfdccfaa3ee |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Hello @AnaNedicGithub.
Can you add the below script in your yaml file, rerun the build and share the new build id with me.
|
Beta Was this translation helpful? Give feedback.
-
Hi @dam-ease , it seems ios build is ok now. The issue was indeed App Store Connect API key. It had the wrong issuer id. I left the "App manager" permission level, because I figured the error was due to the wrong issuer id. I can see my build in the App Store, but the App Store Distribution post-processing step is marked red in the pipeline. Is this normal? Build id is 66b39c505cdb450db3196437 |
Beta Was this translation helpful? Give feedback.
-
Hi @dam-ease , thank you for your ongoing support! I would appreciate your help with following 2 questions. Firstly, I did what you said. Now my App Store Connect Distribution step fails with "Build is missing export compliance.". I can easily fix it manually in the TestFlight. Build id is 66b4e076d017a070ee685d27. Is there a way to automate this in Codemagic, and is it an issue if I leave the pipeline like this? Second, I also need to patch ios release using Shorebird. I've fixed compliance issue manually and started shorebird build. It unfortunately failed, build id is 66b4e71415d999f5f08e2f96. It says " |
Beta Was this translation helpful? Give feedback.
-
Hi @dam-ease , I added Build failed, I can only see this issue, but maybe you can see more in the logs:
Could you please clarify for me: is /Users/builder/... a folder on the machine that runs my pipeline? |
Beta Was this translation helpful? Give feedback.
Hello @AnaNedicGithub.
Please try adding this to your script: