Created
March 15, 2019 23:38
-
-
Save xocialize/ba3520f2e25378892295573f8b23fa64 to your computer and use it in GitHub Desktop.
xcode codesign
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LOCATION="${BUILT_PRODUCTS_DIR}"/"${FRAMEWORKS_FOLDER_PATH}" | |
# By default, use the configured code signing identity for the project/target | |
#IDENTITY="${CODE_SIGN_IDENTITY}" | |
IDENTITY="${EXPANDED_CODE_SIGN_IDENTITY_NAME}" | |
if [ "$IDENTITY" == "" ] | |
then | |
# If a code signing identity is not specified, use ad hoc signing | |
IDENTITY="-" | |
fi | |
codesign --verbose --force --deep -o runtime --sign "$IDENTITY" "$LOCATION/Sparkle.framework/Versions/A/Resources/Updater.app" | |
codesign --verbose --force --deep -o runtime --sign "$IDENTITY" "$LOCATION/Sparkle.framework/Versions/A/Resources/AutoUpdate" | |
codesign --verbose --force -o runtime --sign "$IDENTITY" "$LOCATION/Sparkle.framework/Versions/A" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment