Skip to content
Discussion options

You must be logged in to vote

Hi,
I modified the signing script:

function sign_app_bundle() {
  echo "[INFO] Start signing app bundle $1..."
  
  find "$1/Contents/MacOS" -type f ! -name "$APP_EXECUTABLE" | while read -r fname; do
    echo "[INFO] Signing $fname"
    codesign \
      --force \
      --timestamp \
      --options=runtime \
      --sign "$2" \
      "$fname"
  done
  
  # Sign main executable with entitlements
  echo "[INFO] Signing $1/Contents/MacOS/$APP_EXECUTABLE"
  codesign \
    --force \
    --timestamp \
    --options=runtime \
    ${3:+'--entitlements' "$3"} \
    --sign "$2" \
    "$1/Contents/MacOS/$APP_EXECUTABLE"
  
  codesign \
    --force \
    --timestamp \
    --options=runtime \
    ${3…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@vst121
Comment options

@tsw-github
Comment options

@vst121
Comment options

@tsw-github
Comment options

Answer selected by tsw-github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants