-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
flutter build ipa fails after migration to new MacBook, latest Xcode #140777
Comments
Uninstall xcode and install it again. I believe I had similar issues with xcode after migrating a intel macbook to m1. Don't think it's a flutter issue. After you re-install XCode. Try to open the project and do a product > archive directly from xcode once. |
@bryonnicoson Can you please share the entire output of Also, this looks similar to #139500, please check #139500 (comment) to see if it helps. |
I think you need to have Rosetta installed. @stuartmorgan @zanderso do you know what is the story with build artifacts for ARM Macs? I thought we have disentangled ourselves from Rosetta, but it does not seem to be the case:
I would think that we should only use ARM64 binaries on ARM Macs and not expect users to have Rosetta installed. I also find it puzzling that we have some duplication:
Why do we have 3 |
also cc @jmagman |
Is it possible to build |
@bryonnicoson 1. Do you know if you installed Rosetta? 2. Can you run If Rosetta isn't installed the doctor should be complaining that
flutter/packages/flutter_tools/lib/src/doctor.dart Lines 601 to 604 in 0d378ed
@cbracken has been working on parts of it #103386 and #101138 |
@zanderso I believe that was done awhile ago dart-lang/sdk#49768 and dart-lang/sdk@4f7bb16 |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
Build completes on MacBook Pro with Intel chip running macOS 12.7.1 and Xcode 13.4.1.
Build fails on MacBook Air with Apple M2 chip running macOS 14.2.1 and Xcode 15.1.
Expected results
Successful build
Actual results
Build fails
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: