Repository navigation
feat(macos): target macOS 15 (Sequoia) as the minimum deployment version - #62
Merged
Merged
Conversation
CMAKE_OSX_DEPLOYMENT_TARGET was never set, so clang defaulted to the build host's SDK version and every UTV binary built on macos-26 runners required macOS 26, while Info.plist claimed 11.0. - Set CMAKE_OSX_DEPLOYMENT_TARGET=15.0 (cache var, before PROJECT()) and pass it to ExternalProject dependencies built from source. - Make -Wunguarded-availability-new an error on Apple so APIs newer than the deployment target cannot slip in without an @available() guard. - Derive LSMinimumSystemVersion in UTV and UTVLinkLauncher Info.plist from the deployment target; drop the release workflow's 11.0.0 override. - Add src/build/check_macos_min_version.py and run it after every macOS CI build to fail if any bundled Mach-O requires a newer macOS than declared. - Cask: depends_on macos ">= :sequoia"; README notes macOS 15+. Closes #61 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Michael Oliver <mcoliver@gmail.com>
mcoliver
marked this pull request as ready for review
September 30, 2026 15:26
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.
Summary
Makes macOS 15 (Sequoia) the real minimum for UTV. Closes #61.
Today the minimum is accidental.
CMAKE_OSX_DEPLOYMENT_TARGETis never set, so clang uses the build host's SDK version. Every binary built on themacos-26runners is stampedminos 26.0, whileInfo.plistclaims 11.0. On Sequoia, dyld refuses to load the app.Changes
CMakeLists.txt:CMAKE_OSX_DEPLOYMENT_TARGET=15.0, set as a cache variable beforePROJECT()so it can be overridden with-D.rv_create_std_deps_vars.cmake,pyimgui.cmakeandpyimplot.cmakepass the deployment target to dependencies built from source (they already passedCMAKE_OSX_ARCHITECTURES).cxx_clang_defaults.cmake:-Werror=unguarded-availability-newon Apple. Any API newer than the target without an@available()guard is now a compile error, instead of a crash at runtime on older macOS.LSMinimumSystemVersionin the UTV and UTVLinkLauncher plists now comes from${CMAKE_OSX_DEPLOYMENT_TARGET}. Removed the release workflow's PlistBuddy override that forced it to11.0.0.src/build/check_macos_min_version.py: new check. It fails if any Mach-O file in the bundle has anLC_BUILD_VERSION minoshigher than the declaredLSMinimumSystemVersion. It runs after the macOS build inbranch-build.yml,dev-build.ymlandrelease.yml.depends_on macos: ">= :sequoia". The README install section now says macOS 15+.Verification (local, macOS 27 host, Xcode SDK 27)
unguarded-availabilityerrors anywhere in the tree. That covers Metal, AVFoundation/ProRes RAW, VideoToolbox, RED Metal and the launchers.check_macos_min_version.pyon the result:OK: all 126 Mach-O binaries ... support macOS 15.0.UTV-binreportsminos 15.0.minos 26.0.ctestpasses (118/118),utvioconversion works, and the GUI launches cleanly.minos≤ 14.0, and Homebrew's Qt 6.11 isminos 14.0.Not yet verified (needs a human or a macOS 15 machine)
brew install --cask utvon Sequoia (the Homebrew runtime dependencies resolve to sequoia bottles)