8000 Flutter requires installation and setup of cocoapods in order to deploy apps on iOS devices · Issue #65131 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Closed
a-siva opened this is 8000 sue Sep 2, 2020 · 10 comments · Fixed by flutter/website#4662
Labels
platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@a-siva
Copy link
Contributor
a-siva commented Sep 2, 2020

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

CocoaPods is used to manage native dependencies on the hosts. It seems like one of the dependencies of CocoaPods has a native dependency that is crashing on this host. We need to track a fix for this with CocoaPods or switch to a different package management solution.

@a-siva
Copy link
Contributor Author
a-siva commented Sep 2, 2020

/cc @pcsosinski @franklinyow

@jonahwilliams
Copy link
Member

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.

@xster
Copy link
Member
xster commented Sep 3, 2020

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 flutter create a blank app, you can build and run without cocoapods.

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 3, 2020
@a-siva
Copy link
Contributor Author
a-siva commented Sep 3, 2020

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.

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Sep 3, 2020
@xster
Copy link
Member
xster commented Sep 3, 2020

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.

@pcsosinski
Copy link

adding this to the 1.22 milestone as we'll need it in that release when it is done.

@pcsosinski pcsosinski added this to the 1.22 - August 2020 milestone Sep 14, 2020
@alexmarkley
Copy link

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 sudo gem install cocoapods step under Rosetta. Not sure what downstream problems that might create, but it got me moving forward.

@xster
Copy link
Member
xster commented Sep 23, 2020

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.

@jmagman
Copy link
Member
jmagman commented Sep 25, 2020

PR for doc change at flutter/website#4662.
Added CocoaPods/CocoaPods#9907 to #60118 so it doesn't get lost.

@github-actions
Copy link

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 doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants
0