-
Notifications
You must be signed in to change notification settings - Fork 12
Setup Flutter Script doesn't consider MacOS Architecture #2
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
Labels
good first issue
Good for newcomers
Comments
Hi @philiparpin Thank you for submitting the issue. I'll take a look into it and see what I can do. |
Please use |
If the problem still there, feel free to re-open this issue. |
using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
OS: macOS Montgomery - 12.2.1
Processor: 2.6 GHz Dual-Core Intel Core i5
Flutter version: 3.0.2
Steps to Reproduce
Clone flutter v3.0.2
Navigate to the hello world sample: cd examples/hello_world
Build for iOS: flutter build ios --release --no-codesign
Notice the error: bin/internal/shared.sh: line 225: bin/cache/dart-sdk/bin/dart: Bad CPU type in executable
The setup flutter script doesn't consider the MacOS Architecture. For Flutter V3.0.0 and V3.0.1 the first entry in the releases manifest is the intel one so the intel version is downloaded. For V3.0.2 the first version listed in the manifest is the M1 one therefore the script downloads that.
The text was updated successfully, but these errors were encountered: