From c2c6f5f3c962e591f6389bd15327921470d137cb Mon Sep 17 00:00:00 2001 From: Joachim Schmitz Date: Thu, 23 Nov 2023 13:20:20 +0100 Subject: [PATCH] Raise macOS deployment target to 10.13 --- .github/workflows/ci_macos.yml | 2 +- CMakeLists.txt | 4 ++-- build/MacOSXBundleInfo.plist.in | 2 +- build/ci/macos/setup.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_macos.yml b/.github/workflows/ci_macos.yml index 4e91b993c8998..c1c670529803e 100644 --- a/.github/workflows/ci_macos.yml +++ b/.github/workflows/ci_macos.yml @@ -21,7 +21,7 @@ on: default: 'off' env: - DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer + DEVELOPER_DIR: /Applications/Xcode_15.0.app/Contents/Developer jobs: build: diff --git a/CMakeLists.txt b/CMakeLists.txt index 71b2719102789..aa94de687ba62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -205,8 +205,8 @@ if (APPLE) set (CMAKE_CXX_COMPILER_ID "Clang") set(CMAKE_OSX_ARCHITECTURES x86_64) - set(MACOSX_DEPLOYMENT_TARGET 10.10) - set(CMAKE_OSX_DEPLOYMENT_TARGET 10.10) + set(MACOSX_DEPLOYMENT_TARGET 10.13) + set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13) set(HAS_AUDIOFILE TRUE) # Requires libsndfile set(MAC_APPCAST_URL "") diff --git a/build/MacOSXBundleInfo.plist.in b/build/MacOSXBundleInfo.plist.in index 5dce1d118a9b4..f255b5513db1b 100644 --- a/build/MacOSXBundleInfo.plist.in +++ b/build/MacOSXBundleInfo.plist.in @@ -447,7 +447,7 @@ LSRequiresCarbon LSMinimumSystemVersion - 10.10.0 + ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright ${MACOSX_BUNDLE_COPYRIGHT} LSApplicationCategoryType diff --git a/build/ci/macos/setup.sh b/build/ci/macos/setup.sh index 7960744a3ce7c..1b709a6a0c26e 100644 --- a/build/ci/macos/setup.sh +++ b/build/ci/macos/setup.sh @@ -5,7 +5,7 @@ echo "Setup MacOS build environment" trap 'echo Setup failed; exit 1' ERR SKIP_ERR_FLAG=true -export MACOSX_DEPLOYMENT_TARGET=10.10 +export MACOSX_DEPLOYMENT_TARGET=10.13 # install dependencies wget -c --no-check-certificate -nv -O bottles.zip https://musescore.org/sites/musescore.org/files/2020-02/bottles-MuseScore-3.0-yosemite.zip