From bd10846d6ce31f7452441a433b3282be1342760a Mon Sep 17 00:00:00 2001 From: Sam Soffes Date: Wed, 7 Jun 2023 17:13:02 -0700 Subject: [PATCH] Update code signing --- Clock.xcodeproj/project.pbxproj | 70 +++++++++++++++---- .../xcshareddata/xcschemes/Clock.xcscheme | 2 +- .../xcshareddata/xcschemes/ClockDemo.xcscheme | 2 +- 3 files changed, 58 insertions(+), 16 deletions(-) diff --git a/Clock.xcodeproj/project.pbxproj b/Clock.xcodeproj/project.pbxproj index b3e1c51..5bbc895 100644 --- a/Clock.xcodeproj/project.pbxproj +++ b/Clock.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 53; objects = { /* Begin PBXBuildFile section */ @@ -250,13 +250,13 @@ 21592F3418CB7D4A00931D75 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftMigration = 0700; LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 1310; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = "Sam Soffes"; TargetAttributes = { 21592F3D18CB7D4A00931D75 = { - DevelopmentTeam = LHDXBG4XBK; LastSwiftMigration = 1110; }; }; @@ -385,6 +385,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; + DEAD_CODE_STRIPPING = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; @@ -442,6 +443,7 @@ CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = YES; + DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -456,7 +458,8 @@ GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.12; SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_SWIFT3_OBJC_INFERENCE = Off; SWIFT_VERSION = 5.0; }; @@ -468,13 +471,24 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; CODE_SIGN_IDENTITY = "Apple Development"; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 13; + CURRENT_PROJECT_VERSION = 14; + DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = LHDXBG4XBK; + ENABLE_APP_SANDBOX = YES; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_MODULE_VERIFIER = YES; INFOPLIST_FILE = "Clock/Resources/Clock-Info.plist"; INSTALL_PATH = "$(HOME)/Library/Screen Savers"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MARKETING_VERSION = 0.7.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)"; + MARKETING_VERSION = 0.7.3; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; PRODUCT_BUNDLE_IDENTIFIER = com.samsoffes.clock; PRODUCT_NAME = "$(TARGET_NAME)"; WRAPPER_EXTENSION = saver; @@ -485,16 +499,26 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_IDENTITY = "Developer ID Application"; - CODE_SIGN_STYLE = Manual; + CODE_SIGN_IDENTITY = "Apple Development"; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 13; + CURRENT_PROJECT_VERSION = 14; + DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = LHDXBG4XBK; + ENABLE_APP_SANDBOX = YES; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_MODULE_VERIFIER = YES; INFOPLIST_FILE = "Clock/Resources/Clock-Info.plist"; INSTALL_PATH = "$(HOME)/Library/Screen Savers"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MARKETING_VERSION = 0.7.2; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)"; + MARKETING_VERSION = 0.7.3; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; PRODUCT_BUNDLE_IDENTIFIER = com.samsoffes.clock; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -509,14 +533,23 @@ CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 11; + DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; + ENABLE_MODULE_VERIFIER = YES; GCC_PREPROCESSOR_DEFINITIONS = ( "$(inherited)", "DEMO=1", ); INFOPLIST_FILE = "$(SRCROOT)/ClockDemo/Resources/ClockTest-Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)"; MARKETING_VERSION = 0.7.1; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; OTHER_CFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = "com.samsoffes.clock-demo"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -531,11 +564,20 @@ CODE_SIGN_IDENTITY = "-"; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 11; + DEAD_CODE_STRIPPING = YES; DEFINES_MODULE = YES; + ENABLE_MODULE_VERIFIER = YES; GCC_PREPROCESSOR_DEFINITIONS = "DEMO=1"; INFOPLIST_FILE = "$(SRCROOT)/ClockDemo/Resources/ClockTest-Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)"; MARKETING_VERSION = 0.7.1; + MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; + MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11"; OTHER_CFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = "com.samsoffes.clock-demo"; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Clock.xcodeproj/xcshareddata/xcschemes/Clock.xcscheme b/Clock.xcodeproj/xcshareddata/xcschemes/Clock.xcscheme index 261db5c..0e6448d 100644 --- a/Clock.xcodeproj/xcshareddata/xcschemes/Clock.xcscheme +++ b/Clock.xcodeproj/xcshareddata/xcschemes/Clock.xcscheme @@ -1,6 +1,6 @@