From d9d5b69e25c40376e77eeaf1824b53460be4d9cf Mon Sep 17 00:00:00 2001 From: Aaron Kollasch Date: Tue, 23 Nov 2021 00:37:53 -0500 Subject: [PATCH] Update for Apple Developer releases --- jitouch/Jitouch/Jitouch.entitlements | 5 +++ .../Jitouch/Jitouch.xcodeproj/project.pbxproj | 42 +++++++++---------- jitouch/Jitouch/JitouchDebug.entitlements | 12 ++++++ prefpane/Jitouch.xcodeproj/project.pbxproj | 8 ++++ 4 files changed, 46 insertions(+), 21 deletions(-) create mode 100644 jitouch/Jitouch/Jitouch.entitlements create mode 100644 jitouch/Jitouch/JitouchDebug.entitlements diff --git a/jitouch/Jitouch/Jitouch.entitlements b/jitouch/Jitouch/Jitouch.entitlements new file mode 100644 index 0000000..0c67376 --- /dev/null +++ b/jitouch/Jitouch/Jitouch.entitlements @@ -0,0 +1,5 @@ + + + + + diff --git a/jitouch/Jitouch/Jitouch.xcodeproj/project.pbxproj b/jitouch/Jitouch/Jitouch.xcodeproj/project.pbxproj index fb6c63f..d210ed5 100644 --- a/jitouch/Jitouch/Jitouch.xcodeproj/project.pbxproj +++ b/jitouch/Jitouch/Jitouch.xcodeproj/project.pbxproj @@ -84,6 +84,8 @@ A8D4973610918F7E005C3998 /* resize.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resize.png; path = ../resize.png; sourceTree = SOURCE_ROOT; }; A8DB0A4910842620000A2A08 /* logosmall.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = logosmall.png; path = ../logosmall.png; sourceTree = SOURCE_ROOT; }; A8EB72061085318200563ED4 /* logosmalloff.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = logosmalloff.png; path = ../logosmalloff.png; sourceTree = SOURCE_ROOT; }; + D7730023274C86F000C49145 /* JitouchDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = JitouchDebug.entitlements; sourceTree = ""; }; + D7AE605B274C7A8400FBD29A /* Jitouch.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Jitouch.entitlements; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -141,6 +143,8 @@ 29B97314FDCFA39411CA2CEA /* Jitouch */ = { isa = PBXGroup; children = ( + D7730023274C86F000C49145 /* JitouchDebug.entitlements */, + D7AE605B274C7A8400FBD29A /* Jitouch.entitlements */, 080E96DDFE201D6D7F000001 /* Classes */, 29B97315FDCFA39411CA2CEA /* Other Sources */, 29B97317FDCFA39411CA2CEA /* Resources */, @@ -212,7 +216,6 @@ 8D1107290486CEB800E47090 /* Resources */, 8D11072C0486CEB800E47090 /* Sources */, 8D11072E0486CEB800E47090 /* Frameworks */, - 7BB8604815DA332C00031122 /* ShellScript */, ); buildRules = ( ); @@ -274,22 +277,6 @@ }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - 7BB8604815DA332C00031122 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "rm -rf ../../prefpane/Jitouch.app\ncp -R \"${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}\" ../../prefpane\n"; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ 8D11072C0486CEB800E47090 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -327,12 +314,17 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ENABLE_OBJC_WEAK = YES; - CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_ENTITLEMENTS = JitouchDebug.entitlements; + CODE_SIGN_IDENTITY = "Apple Development: aaron@kollasch.dev (N6A2V6RU36)"; + CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES; + CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 2.75; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEPLOYMENT_POSTPROCESSING = YES; + DEVELOPMENT_TEAM = 5UQY3B3594; + ENABLE_HARDENED_RUNTIME = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"", @@ -343,8 +335,10 @@ GCC_PREFIX_HEADER = Jitouch_Prefix.pch; INFOPLIST_FILE = Info.plist; MARKETING_VERSION = 2.75; - PRODUCT_BUNDLE_IDENTIFIER = "com.jitouch.${PRODUCT_NAME:rfc1034identifier}"; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.jitouch.Jitouch; PRODUCT_NAME = Jitouch; + PROVISIONING_PROFILE_SPECIFIER = "Jitouch aeolus development"; STRIP_INSTALLED_PRODUCT = YES; }; name = Debug; @@ -354,11 +348,16 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ENABLE_OBJC_WEAK = YES; - CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_ENTITLEMENTS = Jitouch.entitlements; + CODE_SIGN_IDENTITY = "Developer ID Application: Aaron Kollasch (5UQY3B3594)"; + CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO; + CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 2.75; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEPLOYMENT_POSTPROCESSING = YES; + DEVELOPMENT_TEAM = 5UQY3B3594; + ENABLE_HARDENED_RUNTIME = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"", @@ -369,8 +368,9 @@ GCC_PREFIX_HEADER = Jitouch_Prefix.pch; INFOPLIST_FILE = Info.plist; MARKETING_VERSION = 2.75; - PRODUCT_BUNDLE_IDENTIFIER = "com.jitouch.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_BUNDLE_IDENTIFIER = com.jitouch.Jitouch; PRODUCT_NAME = Jitouch; + PROVISIONING_PROFILE_SPECIFIER = "Jitouch Distribution"; STRIP_INSTALLED_PRODUCT = YES; }; name = Release; diff --git a/jitouch/Jitouch/JitouchDebug.entitlements b/jitouch/Jitouch/JitouchDebug.entitlements new file mode 100644 index 0000000..ec323fc --- /dev/null +++ b/jitouch/Jitouch/JitouchDebug.entitlements @@ -0,0 +1,12 @@ + + + + + com.apple.security.cs.disable-executable-page-protection + + com.apple.security.cs.disable-library-validation + + com.apple.security.get-task-allow + + + diff --git a/prefpane/Jitouch.xcodeproj/project.pbxproj b/prefpane/Jitouch.xcodeproj/project.pbxproj index 836e32f..5bbbdc4 100644 --- a/prefpane/Jitouch.xcodeproj/project.pbxproj +++ b/prefpane/Jitouch.xcodeproj/project.pbxproj @@ -334,10 +334,13 @@ arm64e, ); CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 2.75; DEPLOYMENT_POSTPROCESSING = YES; + DEVELOPMENT_TEAM = 5UQY3B3594; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"", @@ -355,6 +358,7 @@ ONLY_ACTIVE_ARCH = NO; PRODUCT_BUNDLE_IDENTIFIER = "com.jitouch.${PRODUCT_NAME:identifier}"; PRODUCT_NAME = Jitouch; + PROVISIONING_PROFILE_SPECIFIER = ""; STRIP_INSTALLED_PRODUCT = YES; SYSTEM_FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -372,10 +376,13 @@ arm64e, ); CLANG_ENABLE_OBJC_WEAK = YES; + CODE_SIGN_IDENTITY = "Developer ID Application"; + CODE_SIGN_STYLE = Manual; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 2.75; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEPLOYMENT_POSTPROCESSING = YES; + DEVELOPMENT_TEAM = 5UQY3B3594; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "\"$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks\"", @@ -390,6 +397,7 @@ MARKETING_VERSION = 2.75; PRODUCT_BUNDLE_IDENTIFIER = "com.jitouch.${PRODUCT_NAME:identifier}"; PRODUCT_NAME = Jitouch; + PROVISIONING_PROFILE_SPECIFIER = ""; STRIP_INSTALLED_PRODUCT = YES; SYSTEM_FRAMEWORK_SEARCH_PATHS = ( "$(inherited)",