Shorebird release build for ios fails #2665
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.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
If I run
shorebird release ios
from my console, I can get an .ipa file and upload it successfully to TestFlight using Xcode.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 results
App uploaded to TestFlight
Actual results
`: Writing 99941 characters to text file /Users/builder/.pub-cache/log/pub_log.txt.
[ +2 ms] Encountered error while archiving for device.
[ ]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 _BuildIOSSubCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:691:7)
#2 BuildIOSArchiveCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:426:50)
#3 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1394:27)
#4 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#5 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
#6 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:372:9)
#7 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#8 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5)
#9 run.. (package:flutter_tools/runner.dart:130:9)
#10 AppContext.run. (package:flutter_tools/src/base/context.dart:153:19)
#11 main (package:flutter_tools/executable.dart:93:3)
(126.8s)
[Process.run] git symbolic-ref HEAD (in /Users/builder/.shorebird/bin/cache)
Exited with code 0
stdout:
refs/heads/stable
[Process.run] git rev-parse --verify HEAD (in /Users/builder/.shorebird/bin/cache)
Exited with code 0
stdout:
d0a36bc6eff29623f1101746cb0c43ab246d0c21
[Process.run] git remote prune origin (in /Users/builder/.shorebird/bin/cache)
Exited with code 0
[Process.run] git fetch --tags (in /Users/builder/.shorebird/bin/cache)
Exited with code 0
[Process.run] git rev-parse --verify @{upstream} (in /Users/builder/.shorebird/bin/cache)
Exited with code 0
stdout:
d0a36bc6eff29623f1101746cb0c43ab246d0c21
Build failed :|
Step 8 script
BuildWithShorebird
exited with status code 70`Build id (optional)
66afbf0c93766dfdccfaa3ee
Beta Was this translation helpful? Give feedback.
All reactions