Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andreacremaschi/cf603046e649b4c7f0c0 to your computer and use it in GitHub Desktop.
Save andreacremaschi/cf603046e649b4c7f0c0 to your computer and use it in GitHub Desktop.
Xcode build scripts
APP_BUILD_DIR="$TARGET_BUILD_DIR"
# CODE_SIGN_CMD="codesign --sign \"$CODE_SIGN_IDENTITY\" --force --verbose=4 {} --keychain enterpriseprogram.keychain"
echo "Signing all digital signature stack libraries with identity: '$CODE_SIGN_IDENTITY'"
echo "Contents folder path: $APP_BUILD_DIR"
echo "Signing files:"
find $APP_BUILD_DIR -iname "*.dylib" -exec codesign --sign "$CODE_SIGN_IDENTITY" --force --verbose=4 {} --keychain enterpriseprogram.keychain \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment