flutter / website

Flutter documentation web site
https://docs.flutter.dev
Other
2.84k stars 3.24k forks source link

Update 'Build and release a macOS app' page for current XCode version #10834

Open biztos opened 5 months ago

biztos commented 5 months ago

Page URL

https://docs.flutter.dev/deployment/macos/

Page source

https://github.com/flutter/website/tree/main/src/content/deployment/macos.md

Describe the problem

The instructions under Review Xcode project settings refer to XCode UI elements that are not (no longer?) present in XCode 15. In particular, there is no Deployment info section. Instead there is Minimum Deployments which doesn't look like exactly the same thing.

Expected fix

The instructions should reflect the latest version of XCode. It would be nice to also have instructions for older versions, if available, but these should clearly indicate which version they apply to.

Additional context

I ran across this when trying to build with supabase_flutter as follows:

Error: The plugin "google_sign_in_ios" requires a higher minimum macOS deployment version than your application is targeting. To build, increase your application's deployment target to at least 10.15 as described at https://docs.flutter.dev/deployment/macos

Setting a higher version in Minimum Deployments did not solve the issue with that, so I am reluctant to submit a patch here, as I'm not sure how it should be working. It's probably better if an XCode expert fixes this.

I would like to fix this problem.

biztos commented 5 months ago

FYI: I fixed the google_sign_in_ios (macos) problem thanks to this on SO, and I humbly suggest you incorporate it into the documentation under review here.

The Podfile must reference the same version as the Minimum Deployments (AFAICT anyway). Thanks!