Skip to content

build(macos): raise the deployment target to macOS 12 - #125

Merged
leoafarias merged 1 commit into
mainfrom
build/macos-deployment-target
Sep 23, 2026
Merged

leoafarias merged 1 commit into
mainfrom
build/macos-deployment-target

Conversation

@leoafarias

Copy link
Copy Markdown
Collaborator

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 FlutterMacOS pod, so every macOS build failed:

The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.15, but the range of supported deployment target versions is 12.0 to 27.0.x.

Changes (demo/macos, packages/playground/macos)

  • The three MACOSX_DEPLOYMENT_TARGET entries in each Runner.xcodeproj and platform :osx in each Podfile now say 12.0.
  • The Podfile post_install raises any pod target below 12.0, since FlutterMacOS still declares 10.15.
  • The Podfile.lock files now have the new Podfile checksum.

Impacted packages

The demo and playground macOS runners only. No Dart changes.

Commands run

  • fvm flutter build macos --debug in demo and packages/playground: both build.
  • fvm dart run melos run test:integration:macos --no-select: 39 passed. This suite couldn't run locally before this change.

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.
@github-actions

Copy link
Copy Markdown

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

@leoafarias
leoafarias added this pull request to stack #128 September 23, 2026 03:37
@leoafarias
leoafarias merged commit acaa334 into main Sep 23, 2026
5 checks passed
@leoafarias
leoafarias deleted the build/macos-deployment-target branch September 23, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant