-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Latest main branch unable to use flutter cmd (likely due to native_asset_cli version conflict) #167694
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
Comments
flutter build ipa
likely due to natiev_asset_cli version
|
Hey @hellohuanlin, Please share the output of
flutter doctor
|
@maheshj01 As I said |
With help from @jason-simmons, this is what we did to fix it, for future reference: First, we did a sanity check:
We notice the dart SDK version was old. So we tried deleting the cache to refetch:
Still not working. Then we tried to update
Then remove cache again, and this time it worked:
This line in above log is odd:
It turned out that it's because I had a local branch called
Then everything worked now |
Steps to reproduce
I pulled my branch today, and try to call
flutter build ipa
on a project, and got this error:gclient sync -D
flutter build ipa
on my test project, and see this errorFlutter Doctor output
Interestingly, flutter doctor also didn't work with the same message
But
flutter -v
prints the version:The text was updated successfully, but these errors were encountered: