Closed guilhermearaujo closed 7 months ago
AFAIK, Flutter version before 3.0 didn't run natively on arm64. They were running on Rosetta.
Exactly, but is it possible to use this action to download the amd64 and run it through Rosetta?
Set architecture to amd64
instead of arm64
:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
version: 2.10.x
architecture: amd64
Please let me know if it helped so I can maybe close the issue.
It worked! I just had to use x64
instead of amd64
. Thanks!
I have this project that still runs flutter 2.10.5, but I cannot get the action to install this version on the new runner images that run on Apple Silicon (
macos-14
which is rolling out asmacos-latest
)When the action run, it fails with:
How can I force the action to run with Rosetta 2?