Skip to content

Instantly share code, notes, and snippets.

@OskarGroth
Created June 23, 2025 16:53
Show Gist options
  • Save OskarGroth/c5f63644e2ef46e19610d3b5b4af62b2 to your computer and use it in GitHub Desktop.
Save OskarGroth/c5f63644e2ef46e19610d3b5b4af62b2 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
echo "Path to app: "
read file
/usr/sbin/spctl -a -v "$file"
/usr/bin/codesign --test-requirement="=notarized" --verify --verbose "$file"
/usr/bin/xcrun stapler validate "$file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment