Repository navigation
build(macos): raise the deployment target to macOS 12 - #125
Merged
Merged
Conversation
Xcode 27 supports deployment targets from macOS 12, so both apps and their CocoaPods targets (which declared 10.15) failed to build. Raise the Runner targets and Podfiles to 12.0 and lift any pod target below it in post_install.
|
Visit the preview URL for this PR (updated for commit 6ac989c): https://superdeck-dev--pr125-build-macos-deployme-x8g771ih.web.app (expires Fri, 23 Oct 2026 03:17:08 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Stack 1/8 of the dependency modernization plan: make the macOS apps buildable again, so the rest of the stack can be verified on macOS.
Xcode 27 accepts deployment targets from macOS 12.0 up. Both apps pinned 10.15, and so did the
FlutterMacOSpod, so every macOS build failed:Changes (
demo/macos,packages/playground/macos)MACOSX_DEPLOYMENT_TARGETentries in eachRunner.xcodeprojandplatform :osxin each Podfile now say 12.0.post_installraises any pod target below 12.0, sinceFlutterMacOSstill declares 10.15.Podfile.lockfiles now have the new Podfile checksum.Impacted packages
The
demoandplaygroundmacOS runners only. No Dart changes.Commands run
fvm flutter build macos --debugindemoandpackages/playground: both build.fvm dart run melos run test:integration:macos --no-select: 39 passed. This suite couldn't run locally before this change.