bitrise-steplib / bitrise-step-flutter-build

MIT License
7 stars 14 forks source link

`Flutter SDK installation bundle URL` fails on catalina #17

Closed josh-burton closed 3 years ago

josh-burton commented 4 years ago

I updated my workflows to the new XCode 11.4 Catalina stack, and my Flutter builds started failing.

It seems specifying a Flutter SDK installation bundle URL no longer works.

You can see in this log that the Flutter step downloads and installs the specified version of Flutter, but after setting the path Flutter is still reporting the master version:

Config:
- Version: beta
- IsUpdate: true
- BundleURL: https://storage.googleapis.com/flutter_infra/releases/dev/macos/flutter_macos_v1.15.1-dev.zip
- IsDebug: false
Input: 'Flutter SDK git repository version' (version) is ignored, using 'Flutter SDK installation bundle URL' (installation_bundle_url).
$ flutter "--version"
╔════════════════════════════════════════════════════════════════════════════╗
  ║ A new version of Flutter is available!                                     ║
  ║                                                                            ║
  ║ To update to the latest version, run "flutter upgrade".                    ║
  ╚════════════════════════════════════════════════════════════════════════════╝
Flutter 1.12.13+hotfix.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 27321ebbad (9 weeks ago) • 2019-12-10 18:15:01 -0800
Engine • revision 2994f7e1e6
Tools • Dart 2.7.0
Preinstalled Flutter version: 1.12.13+hotfix.5
Downloading Flutter SDK
Cleaning SDK target path: /Users/vagrant/flutter-sdk
Downloading and unarchiving Flutter from installation bundle: https://storage.googleapis.com/flutter_infra/releases/dev/macos/flutter_macos_v1.15.1-dev.zip
Adding flutter bin directory to $PATH
Added to $PATH
Flutter version
$ flutter "--version"
Flutter 1.12.13+hotfix.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 27321ebbad (9 weeks ago) • 2019-12-10 18:15:01 -0800
Engine • revision 2994f7e1e6
Tools • Dart 2.7.0
pigeon-archive commented 4 years ago

Hi @athornz,

Thank you for reaching out.

Can you please clarify if you are still experiencing this behaviour?

If so, can you please provide a link to a build and your bitrise.yml file?

Thanks, Luna

josh-burton commented 4 years ago

Hi @non-binary , yes this is still an issue. I've just tried again and the build failed. Here's the link: https://app.bitrise.io/build/c9172f4e384c516c

github-actions[bot] commented 3 years ago

Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.

To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 90 days, so I marked it as stale.

The community would appreciate if you could check if the issue still persists. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".

If no comment left within 21 days, this issue will be closed.

github-actions[bot] commented 3 years ago

I'll close this issue as it doesn't seem to be relevant anymore. We believe an old issue probably has a bunch of context that's no longer relevant, therefore, if the problem still persists, please open a new issue.