Skip to content

Commit 3180123

Browse files
Code sign Sparkle in build phases (#674)
1 parent 35f06fc commit 3180123

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

GitUp/GitUp.xcodeproj/project.pbxproj

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@
374374
E2C338A919F8562F00063D95 /* Resources */,
375375
E2653D271A5B3298006A9871 /* Copy Frameworks */,
376376
E21DCAF21B2538FB006424E8 /* Copy Tool */,
377+
1D7D03E724528390002C1736 /* ShellScript */,
377378
);
378379
buildRules = (
379380
);
@@ -396,9 +397,11 @@
396397
TargetAttributes = {
397398
E21DCAE71B253847006424E8 = {
398399
CreatedOnToolsVersion = 6.3.2;
400+
ProvisioningStyle = Manual;
399401
};
400402
E2C338AA19F8562F00063D95 = {
401403
CreatedOnToolsVersion = 6.1;
404+
ProvisioningStyle = Manual;
402405
};
403406
};
404407
};
@@ -472,6 +475,26 @@
472475
};
473476
/* End PBXResourcesBuildPhase section */
474477

478+
/* Begin PBXShellScriptBuildPhase section */
479+
1D7D03E724528390002C1736 /* ShellScript */ = {
480+
isa = PBXShellScriptBuildPhase;
481+
buildActionMask = 2147483647;
482+
files = (
483+
);
484+
inputFileListPaths = (
485+
);
486+
inputPaths = (
487+
);
488+
outputFileListPaths = (
489+
);
490+
outputPaths = (
491+
);
492+
runOnlyForDeploymentPostprocessing = 0;
493+
shellPath = /bin/sh;
494+
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";
495+
};
496+
/* End PBXShellScriptBuildPhase section */
497+
475498
/* Begin PBXSourcesBuildPhase section */
476499
E21DCAE41B253847006424E8 /* Sources */ = {
477500
isa = PBXSourcesBuildPhase;

0 commit comments

Comments
 (0)