From aafcb696e7f89593e7006c0e8748b9931cf2dd63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Tr=C3=A9guier?= Date: Tue, 17 Sep 2024 12:13:12 +0200 Subject: [PATCH] Use XCode 16 --- .github/workflows/publishing.yml | 3 --- Fyreplace.xcodeproj/project.pbxproj | 19 ++++++++++++------- .../xcshareddata/xcschemes/Fyreplace.xcscheme | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publishing.yml b/.github/workflows/publishing.yml index f46e794..6d634e8 100644 --- a/.github/workflows/publishing.yml +++ b/.github/workflows/publishing.yml @@ -114,9 +114,6 @@ jobs: run: curl -sL https://sentry.io/get-cli/ | sh - name: Build app - env: - CODE_SIGN_IDENTITY: Apple Distribution - PROVISIONING_PROFILE_SPECIFIER: ${{ vars.PROVISIONING_PROFILE_NAME }} run: | xcodebuild archive \ -allowProvisioningUpdates \ diff --git a/Fyreplace.xcodeproj/project.pbxproj b/Fyreplace.xcodeproj/project.pbxproj index b5f21b2..392daa6 100644 --- a/Fyreplace.xcodeproj/project.pbxproj +++ b/Fyreplace.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 60; + objectVersion = 63; objects = { /* Begin PBXBuildFile section */ @@ -516,7 +516,7 @@ attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1530; - LastUpgradeCheck = 1540; + LastUpgradeCheck = 1600; TargetAttributes = { 4D54C9272BF2608A001DE071 = { CreatedOnToolsVersion = 15.3; @@ -532,7 +532,7 @@ }; }; buildConfigurationList = 4D54C9232BF2608A001DE071 /* Build configuration list for PBXProject "Fyreplace" */; - compatibilityVersion = "Xcode 15.0"; + compatibilityVersion = "Xcode 15.3"; developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( @@ -740,6 +740,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; @@ -846,8 +847,10 @@ CODE_SIGN_ENTITLEMENTS = "${TARGET_NAME}/Config/Fyreplace.debug.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; + DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"${TARGET_NAME}/Preview Content\""; "ENABLE_APP_SANDBOX[sdk=macosx*]" = YES; + ENABLE_HARDENED_RUNTIME = YES; "ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES; ENABLE_PREVIEWS = YES; ENABLE_USER_SCRIPT_SANDBOXING = NO; @@ -881,7 +884,9 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = "${TARGET_NAME}/Config/Fyreplace.release.entitlements"; + CODE_SIGN_IDENTITY = "Apple Distribution"; CODE_SIGN_STYLE = Manual; + DEAD_CODE_STRIPPING = YES; DEVELOPMENT_ASSET_PATHS = "\"${TARGET_NAME}/Preview Content\""; "ENABLE_APP_SANDBOX[sdk=macosx*]" = YES; ENABLE_HARDENED_RUNTIME = YES; @@ -913,8 +918,8 @@ 4D54C9512BF26090001DE071 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + DEAD_CODE_STRIPPING = YES; GENERATE_INFOPLIST_FILE = YES; PRODUCT_BUNDLE_IDENTIFIER = app.fyreplace.FyreplaceTests; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -930,8 +935,8 @@ 4D54C9522BF26090001DE071 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; + DEAD_CODE_STRIPPING = YES; GENERATE_INFOPLIST_FILE = YES; PRODUCT_BUNDLE_IDENTIFIER = app.fyreplace.FyreplaceTests; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -947,7 +952,7 @@ 4D54C9542BF26090001DE071 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + DEAD_CODE_STRIPPING = YES; GENERATE_INFOPLIST_FILE = YES; PRODUCT_BUNDLE_IDENTIFIER = app.fyreplace.FyreplaceUITests; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -963,7 +968,7 @@ 4D54C9552BF26090001DE071 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + DEAD_CODE_STRIPPING = YES; GENERATE_INFOPLIST_FILE = YES; PRODUCT_BUNDLE_IDENTIFIER = app.fyreplace.FyreplaceUITests; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Fyreplace.xcodeproj/xcshareddata/xcschemes/Fyreplace.xcscheme b/Fyreplace.xcodeproj/xcshareddata/xcschemes/Fyreplace.xcscheme index f25b545..80291e7 100644 --- a/Fyreplace.xcodeproj/xcshareddata/xcschemes/Fyreplace.xcscheme +++ b/Fyreplace.xcodeproj/xcshareddata/xcschemes/Fyreplace.xcscheme @@ -1,6 +1,6 @@