add hardened runtime, increment build num

This commit is contained in:
neon443
2025-05-26 12:33:28 +01:00
parent 66361a765e
commit c0eaea8477
3 changed files with 32 additions and 14 deletions

14
Config.xcconfig Normal file
View File

@@ -0,0 +1,14 @@
//
// Config.xcconfig
// DockPhobia
//
// Created by neon443 on 26/05/2025.
//
VERSION = 1.0
BUILD_ID = 2
TEAM_ID = 8JGND254B7
BUNDLE_ID = com.neon443.DockPhobia
// Configuration settings file format documentation can be found at:
// https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project

View File

@@ -20,6 +20,7 @@
A966B4EF2DE0842400C721A5 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
A966B4F02DE0842400C721A5 /* DockPhobia.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DockPhobia.entitlements; sourceTree = "<group>"; };
A966B4F72DE0852900C721A5 /* MouseTracker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MouseTracker.swift; sourceTree = "<group>"; };
A97798072DE485F200B6CB13 /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -52,6 +53,7 @@
A966B4CD2DE0841000C721A5 = {
isa = PBXGroup;
children = (
A97798072DE485F200B6CB13 /* Config.xcconfig */,
A966B4F32DE0842400C721A5 /* DockPhobia */,
A966B4D72DE0841000C721A5 /* Products */,
);
@@ -280,15 +282,16 @@
};
A966B4E42DE0841200C721A5 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = A97798072DE485F200B6CB13 /* Config.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = DockPhobia/DockPhobia.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 8JGND254B7;
ENABLE_HARDENED_RUNTIME = NO;
CURRENT_PROJECT_VERSION = $BUILD_ID;
DEVELOPMENT_TEAM = $TEAM_ID;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_LSUIElement = YES;
@@ -302,8 +305,8 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.neon443.DockPhobia;
MARKETING_VERSION = $VERSION;
PRODUCT_BUNDLE_IDENTIFIER = $BUNDLE_ID;
PRODUCT_NAME = "$(TARGET_NAME)";
REGISTER_APP_GROUPS = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -313,15 +316,16 @@
};
A966B4E52DE0841200C721A5 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = A97798072DE485F200B6CB13 /* Config.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = DockPhobia/DockPhobia.entitlements;
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 8JGND254B7;
ENABLE_HARDENED_RUNTIME = NO;
CURRENT_PROJECT_VERSION = $BUILD_ID;
DEVELOPMENT_TEAM = $TEAM_ID;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_LSUIElement = YES;
@@ -335,8 +339,8 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.neon443.DockPhobia;
MARKETING_VERSION = $VERSION;
PRODUCT_BUNDLE_IDENTIFIER = $BUNDLE_ID;
PRODUCT_NAME = "$(TARGET_NAME)";
REGISTER_APP_GROUPS = YES;
SWIFT_EMIT_LOC_STRINGS = YES;

View File

@@ -4,13 +4,13 @@
<dict>
<key>com.apple.security.automation.apple-events</key>
<true/>
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
<array>
<string>com.apple.tsm.portname</string>
</array>
<key>com.apple.security.temporary-exception.apple-events</key>
<array>
<string>System Events</string>
</array>
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
<array>
<string>com.apple.tsm.portname</string>
</array>
</dict>
</plist>