-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: shorebird release ios
flutter build step takes a long time
#2598
Comments
Could you run the same command with the |
Felix also improved the output for iOS builds yesterday in Shorebird 1.4.8, so |
I am facing the same problem, when building ios in Github actions. It gets stuck at the |
@eseidel Can the team add ability to use an older version of shorebird (as a quick fix)? The current release is completely broken for IOS releases in Github actions. |
I think it's more likely something to do with a change in flutter version than it is with shorebird, so downgrading shorebird wouldn't fix the issue. You can pass |
@bryanoltman It can also be helpful if you increase logging in the step it gets stuck on. I can then post the logs here so you can reproduce the issue. |
From the current logs, it looks like it gets stuck on
|
@MohiuddinM that's the function our CLI uses to launch any kind of external process, so I think you're correct re: that being the last thing the shorebird CLI does before hanging, but also why I don't think the shorebird CLI itself is the problem, but rather something else that the shorebird CLI is interfacing with. Can you try running this locally with the following?
|
shorebird release ios
flutter build step takes a long time
Can you change Process.run to Process.start (like the android ones), so the inner logs from the process will also get printed in "realtime", instead of being printed at the end of the process. |
I ran this cmd locally, and it finishes normally |
Hmm, so that suggests it might be an issue with the CI machine. Is it running the same version of macOS and Xcode as you're using locally to successfully build? |
I am using |
FWIW, I locally compared stock Flutter to Shorebird's Flutter on a build that was taking a while, and, at least for me, there's no appreciable difference in performance: Flutter: |
➜ flutter_fpg git:(feature/Init_Project) ✗ yes | shorebird release ios --export-method ad-hoc
✓ Fetching apps (1.3s)
⠧ Building ipa with Flutter 3.24.4 (de629bcb9c)... (867.8s)
Stuck here, unable to continue execution
The text was updated successfully, but these errors were encountered: