-
Notifications
You must be signed in to 8000 change notification settings - Fork 28.5k
Flutter requires installation and setup of cocoapods in order to deploy apps on iOS devices #65131
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
I don't think we use cocoapods to handle host dependencies anymore (@christopherfujino ). We do use it to handle plugins for iOS/macOS, and that is probably unchangeable at this point. |
We don't require the installation and setup of cocoapods to deploy apps to the iOS devices. We require cocoapods to build apps with plugins on iOS. If you just |
I am following the instructions documented here https://flutter.dev/docs/get-started/install/macos#deploy-to-ios-devices and trying out the flutter gallery app, not creating a new app. Maybe the documentation needs an update to be more precise about when installation and setup of cocoapods is needed. Somebody who gets this new mac hardware and follows the steps listed there is going to get the same crash. |
ummm ya, that doc is... simple but not entirely technically correct. Thanks for pointing out. @sfshaza2 this might be something we explicitly decided to do? Otherwise, I can tweak the language a bit. |
adding this to the 1.22 milestone as we'll need it in that release when it is done. |
FWIW, looks like upstream is tracking this in the following issues:
Furthermore, in my situation I was able to (temporarily) work around the issue by running the |
Right. The real fix is in CocoaPods/CocoaPods#9907, but if you're blocked @a-siva you can run cocapods in a terminal under rosetta. Or just ignore the instructions and not use a project with plugins for now. |
PR for doc change at flutter/website#4662. |
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 |
Flutter requires installation and setup of cocoapods in order to deploy apps on iOS devices.
The setup of cocoapods is crashing on the new macOS hardware, see https://feedbackassistant.apple.com/feedback/8612629
Would be nice if fluter switched to a different package management solution.
Comment blurb from @chinmaygarde
The text was updated successfully, but these errors were encountered: