-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Remove pod setup instructions, note the sudoless CocoaPods install #4662
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
Conversation
| [Check the app's Bundle ID]: /images/setup/xcode-unique-bundle-id.png | ||
| [Choosing a Membership]: https://developer.apple.com/support/compare-memberships | ||
| [Mac App Store]: https://itunes.apple.com/us/app/xcode/id497799835 | ||
| [Flutter plugins]: /docs/development/packages-and-plugins/using-packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to link somewhere more specific that explained what plugins were (with native code), but I couldn't really find anything. Filed #4661.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for filing that bug, @jmagman. The info is a bit buried on the developing packages page, but both could use some clarification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ha, there it is! Will update the link to that anchor.
| $ sudo gem install cocoapods | ||
| $ pod setup | ||
| ``` | ||
| {{site.alert.note}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sfshaza2 Would you mind deploying this so we can check if this note messed up the numbering? I know we've needed to add ols in a few places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
random tangent: you don't need to deploy it to check formatting. You can just follow https://github.com/flutter/website#developing locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xster is correct! Just run the script in tool/serve.sh and you can view it on localhost. You just can't share that link with others. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not willing to install nvm and rvm on my development machine. See: this very diff for all the versioning trouble it causes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya, it's definitely a hassle. Though on the flip side, fwiw, I never managed to get ruby or python with a reasonably high version to install nicely on mac either without their own ruby or python specific version manager.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, I didn't need rvm, I was just missing jekyll and npx.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xster
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| ``` | ||
| {{site.alert.note}} | ||
| The default version of Ruby requires `sudo` to install the CocoaPods gem. | ||
| If you are using a Ruby Version manager, you may need to run without `sudo`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm under the impression you need 2 indents inside these alerts
| $ sudo gem install cocoapods | ||
| $ pod setup | ||
| ``` | ||
| {{site.alert.note}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
random tangent: you don't need to deploy it to check formatting. You can just follow https://github.com/flutter/website#developing locally.
sfshaza2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor comments.
| you will also need the third-party CocoaPods dependency manager. | ||
| 1. Install and set up CocoaPods by running the following commands: | ||
| 1. You may skip this step if your apps do not depend on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We avoid "may".
=? You can skip this...
| [Check the app's Bundle ID]: /images/setup/xcode-unique-bundle-id.png | ||
| [Choosing a Membership]: https://developer.apple.com/support/compare-memberships | ||
| [Mac App Store]: https://itunes.apple.com/us/app/xcode/id497799835 | ||
| [Flutter plugins]: /docs/development/packages-and-plugins/using-packages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for filing that bug, @jmagman. The info is a bit buried on the developing packages page, but both could use some clarification.
|
Ready for re-review, @sfshaza2! |
sfshaza2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…lutter#4662) * Remove pod setup instructions, note the sudoless CocoaPods install * Review edits * Fix numbering

pod setupis no longer required as of CocoaPods 1.8. Remove it.sudo.flutter/flutter#10122 (comment)
Fixes flutter/flutter#65131.