Skip to content

Commit

Permalink
Add codesigning
Browse files Browse the repository at this point in the history
  • Loading branch information
johnste committed Jun 10, 2020
1 parent 4d1579a commit eb1e37b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
22 changes: 18 additions & 4 deletions Finicky/Finicky.xcodeproj/project.pbxproj
Expand Up @@ -43,6 +43,7 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
52B32464249140A000A84F7F /* Finicky.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Finicky.entitlements; sourceTree = "<group>"; };
54121CB822D8D8270020A69C /* finickyConfigAPI.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = finickyConfigAPI.js; sourceTree = "<group>"; };
5443523D229DA01B00307E21 /* statusitemerror@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "statusitemerror@2x.png"; sourceTree = "<group>"; };
5443523F229DB9E800307E21 /* statusitemerror.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = statusitemerror.png; sourceTree = "<group>"; };
Expand Down Expand Up @@ -115,6 +116,7 @@
54899CD21B20D5BC00647101 /* Finicky */ = {
isa = PBXGroup;
children = (
52B32464249140A000A84F7F /* Finicky.entitlements */,
548376AB2360C7D100834B68 /* Finicky-Bridging-Header.h */,
54CBA90D22A5C7EA0074A67F /* js */,
54899CD51B20D5BC00647101 /* AppDelegate.swift */,
Expand Down Expand Up @@ -241,7 +243,9 @@
};
54899CDF1B20D5BC00647101 = {
CreatedOnToolsVersion = 6.3;
DevelopmentTeam = C3XWNKDP3M;
LastSwiftMigration = 1020;
ProvisioningStyle = Automatic;
TestTargetID = 54899CCF1B20D5BC00647101;
};
};
Expand Down Expand Up @@ -388,7 +392,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Developer ID Application";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -446,7 +450,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Developer ID Application";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_HARDENED_RUNTIME = YES;
Expand All @@ -472,7 +476,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_ENTITLEMENTS = Finicky/Finicky.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = C3XWNKDP3M;
Expand All @@ -493,7 +498,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_ENTITLEMENTS = Finicky/Finicky.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = C3XWNKDP3M;
Expand All @@ -514,7 +520,10 @@
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = C3XWNKDP3M;
FRAMEWORK_SEARCH_PATHS = (
"$(DEVELOPER_FRAMEWORKS_DIR)",
"$(inherited)",
Expand All @@ -528,6 +537,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.12;
PRODUCT_BUNDLE_IDENTIFIER = "net.kassett.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Finicky.app/Contents/MacOS/Finicky";
};
Expand All @@ -537,7 +547,10 @@
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = C3XWNKDP3M;
FRAMEWORK_SEARCH_PATHS = (
"$(DEVELOPER_FRAMEWORKS_DIR)",
"$(inherited)",
Expand All @@ -547,6 +560,7 @@
MACOSX_DEPLOYMENT_TARGET = 10.12;
PRODUCT_BUNDLE_IDENTIFIER = "net.kassett.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Finicky.app/Contents/MacOS/Finicky";
};
Expand Down
8 changes: 8 additions & 0 deletions Finicky/Finicky/Finicky.entitlements
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
</dict>
</plist>
2 changes: 1 addition & 1 deletion Finicky/Finicky/Info.plist
Expand Up @@ -67,7 +67,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>222</string>
<string>232</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down

0 comments on commit eb1e37b

Please sign in to comment.