From 6116b84d6f3c07b6f4dc849fe1f067c1c9a65d1a Mon Sep 17 00:00:00 2001 From: Saagar Jha Date: Wed, 29 May 2024 18:08:45 -0700 Subject: [PATCH] Update build settings for Xcode 15.4 --- Configs/Debug.xcconfig | 1 - Configs/Shared.xcconfig | 1 + Ensemble.xcodeproj/project.pbxproj | 2 +- Ensemble.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme | 2 +- Ensemble.xcodeproj/xcshareddata/xcschemes/visionOS.xcscheme | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Configs/Debug.xcconfig b/Configs/Debug.xcconfig index 3ca51a7..7a3a2e8 100644 --- a/Configs/Debug.xcconfig +++ b/Configs/Debug.xcconfig @@ -15,4 +15,3 @@ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE ONLY_ACTIVE_ARCH = YES SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG $(inherited) SWIFT_OPTIMIZATION_LEVEL = -Onone - diff --git a/Configs/Shared.xcconfig b/Configs/Shared.xcconfig index cabbd9d..50fdfe7 100644 --- a/Configs/Shared.xcconfig +++ b/Configs/Shared.xcconfig @@ -38,6 +38,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE CLANG_WARN_UNREACHABLE_CODE = YES COPY_PHASE_STRIP = NO +DEAD_CODE_STRIPPING = YES ENABLE_PREVIEWS = YES ENABLE_STRICT_OBJC_MSGSEND = YES ENABLE_USER_SCRIPT_SANDBOXING = YES diff --git a/Ensemble.xcodeproj/project.pbxproj b/Ensemble.xcodeproj/project.pbxproj index a9e4308..712e5a9 100644 --- a/Ensemble.xcodeproj/project.pbxproj +++ b/Ensemble.xcodeproj/project.pbxproj @@ -344,7 +344,7 @@ attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1510; - LastUpgradeCheck = 1530; + LastUpgradeCheck = 1540; TargetAttributes = { 49E09B522AD2EE5000B56CD3 = { CreatedOnToolsVersion = 15.1; diff --git a/Ensemble.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme b/Ensemble.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme index 328180e..3f58cea 100644 --- a/Ensemble.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme +++ b/Ensemble.xcodeproj/xcshareddata/xcschemes/macOS.xcscheme @@ -1,6 +1,6 @@