From 0b75967d64645fbd2824bfc93ffda17df7eddc2f Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sun, 20 Aug 2023 23:15:38 -0700 Subject: [PATCH] Attempt to make project build with Xcode 15 This is supposed to fix running on macOS 10.13, but it doesn't. Signed-off-by: Christopher Snowhill --- Cog.xcodeproj/project.pbxproj | 4 ++++ Preferences/Preferences/Preferences.xcodeproj/project.pbxproj | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Cog.xcodeproj/project.pbxproj b/Cog.xcodeproj/project.pbxproj index c86e500de..a64ca71c4 100644 --- a/Cog.xcodeproj/project.pbxproj +++ b/Cog.xcodeproj/project.pbxproj @@ -3003,6 +3003,8 @@ GCC_ENABLE_OBJC_EXCEPTIONS = YES; GCC_OPTIMIZATION_LEVEL = 0; HEADER_SEARCH_PATHS = ThirdParty/avif/include; + IBC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS = YES; + IBSC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS = YES; INFOPLIST_FILE = Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Cog; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.music"; @@ -3058,6 +3060,8 @@ FRAMEWORK_SEARCH_PATHS = "$(PROJECT_DIR)/ThirdParty/Frameworks"; GCC_ENABLE_OBJC_EXCEPTIONS = YES; HEADER_SEARCH_PATHS = ThirdParty/avif/include; + IBC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS = YES; + IBSC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS = YES; INFOPLIST_FILE = Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Cog; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.music"; diff --git a/Preferences/Preferences/Preferences.xcodeproj/project.pbxproj b/Preferences/Preferences/Preferences.xcodeproj/project.pbxproj index 1e83495d3..eef5d27b7 100644 --- a/Preferences/Preferences/Preferences.xcodeproj/project.pbxproj +++ b/Preferences/Preferences/Preferences.xcodeproj/project.pbxproj @@ -588,6 +588,8 @@ GCC_OPTIMIZATION_LEVEL = 0; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = Preferences_Prefix.pch; + IBC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS = YES; + IBSC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS = YES; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Library/Bundles"; PRODUCT_BUNDLE_IDENTIFIER = org.cogx.cog.preferences; @@ -606,6 +608,8 @@ GCC_MODEL_TUNING = G5; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = Preferences_Prefix.pch; + IBC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS = YES; + IBSC_COMPILER_USE_NIBKEYEDARCHIVER_FOR_MACOS = YES; INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Library/Bundles"; PRODUCT_BUNDLE_IDENTIFIER = org.cogx.cog.preferences;