-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
macOS development system requirement versions inconsistent #10041
Comments
@parlough : I'll double check with engineering. I believe I was going with latest. It's worth checking, though. |
Thanks for looking in to it @atsansone! |
@parlough : I know why these show as Xcode 15 and CocoaPods 1.12. I was working from a "latest stable version" perspective, as you can see from this archived version of the same page. CocoaPods didn't have a version listed, but I presumed that running If this explanation works for you, close this issue. If not, I can discuss with @jmagman about using the minimum versions instead. |
After discussing with @jmagman , I will close this issue. The minimum versions are what you found. We should recommend installing the latest stable. |
@atsansone can we change it to just "latest"? The versions here don't match the tool, as @parlough found, so I think we should update it to match the tool (more difficult to keep in sync, particularly with I/O site lockdowns), or be ambiguous and not specify a version and let the tool enforce as needed. Otherwise we need to update this every time CocoaPods or Xcode releases a new version. |
Yes please! I think especially since it's under "System requirements", not matching the actual requirement is a potential source of confusion. Also updating with each change would be painful too. I think saying "latest" and relying on |
@jmagman : We could make this change. Are there any circumstances where not having the version spelled out would occur? The point you raise here would only become more pronounced as versions update, that is, the difference between what the docs recommend and what the tool states. (I thought the issue there, btw, was that this page was intended for new installers who wouldn't have an issue with minimums.) Please advise. |
I'd be fine with saying Xcode and CocoaPods without specifying a version or saying "latest". If developers don't have it installed, they will install the latest versions by default. And if they already have them installed then the tool will complain the first time they try to use it and will prompt them to update. I also don't know why we mention git here
|
@jmagman : We mention |
We can drop the git version then. I don't want to need to notice and update our docs when Xcode revs the git version. |
@jmagman That should work for macOS. |
The getting started docs are optimized for new installations, where we should guide to install the latest packages. This is separate from minimum supported versions that the tool may enforce. We're specific with versions elsewhere in the getting started docs and I think we should stay consistent here, as long as we keep these recommended newest version numbers for new installations up to date. @atsansone and I discussed and aligned on this when we did the latest refresh of the docs. |
I don't keep track of when CocoaPods updates, or when a minor Xcode version comes out, or the version of git that it ships with. If someone from tech writing wants to commit to keeping this version number up-to-date that's fine with me, though it seems inevitable someone will miss a version. I don't see what that buys us instead of saying "latest", if you must say something other than "Install Xcode". |
This works for me. Closing this issue. |
Page URL
https://docs.flutter.dev/get-started/install/macos/mobile-ios/
Page source
https://github.com/flutter/website/tree/main/src/get-started/install/macos/mobile-ios.md
Describe the problem
The page says Xcode 15 is required for debugging code during Flutter development and that Cocoapods needs to be 1.12 or later.
However, currently on stable the
flutter
tool says Xcode 14 and Cocoapods 1.10 are the minimum.Expected fix
I'm not sure where the minimums on the page came from, but I'm assuming they should match the
flutter
tool?Additional context
No response
I would like to fix this problem.
The text was updated successfully, but these errors were encountered: