Skip to content

Commit

Permalink
add code sign flags for Sparkle.framework
Browse files Browse the repository at this point in the history
  • Loading branch information
iseebi committed Aug 18, 2024
1 parent 282690a commit 702e0fd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Ukam.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@
buildConfigurationList = 82C57F0927D46DC100395627 /* Build configuration list for PBXNativeTarget "Ukam" */;
buildPhases = (
82C57EF527D46DB900395627 /* Sources */,
82479FAE2C7203580063996B /* Sign Sparkle Updater */,
82C57EF627D46DB900395627 /* Frameworks */,
82C5D37D2C675B3000395627 /* Copy Acknowledgements */,
82C57EF727D46DB900395627 /* Resources */,
Expand Down Expand Up @@ -375,6 +376,24 @@
shellPath = /bin/sh;
shellScript = "hoshi_cli=\"$PROJECT_DIR/.vendor/hoshi.app/Contents/hoshi-cli\"\n\nwork_dir=$(mktemp -d)\nfunction cleanup {\n rm -rf \"$work_dir\"\n}\ntrap cleanup EXIT\n\n$hoshi_cli publish --project \"$PROJECT_DIR/localize\" --outDir \"$work_dir\" app\n\ncp \"$work_dir/app/strings/en.strings\" \"$PROJECT_DIR/Ukam/en.lproj/Localizable.strings\"\ncp \"$work_dir/app/strings/ja.strings\" \"$PROJECT_DIR/Ukam/ja.lproj/Localizable.strings\"\n";
};
82479FAE2C7203580063996B /* Sign Sparkle Updater */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Sign Sparkle Updater";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "set -exu\n\nif [ \"$CONFIGURATION\" != Release ]; then\n exit 0\nfi\n\ncodesign --verbose --force --sign \"$CODE_SIGN_IDENTITY\" --timestamp --deep --options runtime \"${BUILT_PRODUCTS_DIR}/Sparkle.framework/Versions/Current/Updater.app\"\n";
};
82C5D37D2C675B3000395627 /* Copy Acknowledgements */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
Expand Down

0 comments on commit 702e0fd

Please sign in to comment.