Skip to content

Commit

Permalink
Code sign Sparkle in build phases (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasderraugh authored Apr 24, 2020
1 parent 35f06fc commit 3180123
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions GitUp/GitUp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@
E2C338A919F8562F00063D95 /* Resources */,
E2653D271A5B3298006A9871 /* Copy Frameworks */,
E21DCAF21B2538FB006424E8 /* Copy Tool */,
1D7D03E724528390002C1736 /* ShellScript */,
);
buildRules = (
);
Expand All @@ -396,9 +397,11 @@
TargetAttributes = {
E21DCAE71B253847006424E8 = {
CreatedOnToolsVersion = 6.3.2;
ProvisioningStyle = Manual;
};
E2C338AA19F8562F00063D95 = {
CreatedOnToolsVersion = 6.1;
ProvisioningStyle = Manual;
};
};
};
Expand Down Expand Up @@ -472,6 +475,26 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
1D7D03E724528390002C1736 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Code sign sparkle app\nLOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${FRAMEWORKS_FOLDER_PATH}\"\n\n# By default, use the configured code signing identity for the project/target\nIDENTITY=\"${CODE_SIGN_IDENTITY}\"\nif [ \"$IDENTITY\" == \"\" ]\nthen\n # If a code signing identity is not specified, use ad hoc signing\n IDENTITY=\"-\"\nfi\ncodesign --verbose --force --deep -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A/Resources/AutoUpdate.app\"\ncodesign --verbose --force -o runtime --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A\"\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
E21DCAE41B253847006424E8 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down

0 comments on commit 3180123

Please sign in to comment.