Skip to content

Instantly share code, notes, and snippets.

@jscalo
Created March 9, 2025 04:48
Show Gist options
  • Save jscalo/624cd215465d85f9c14469a9b68b21bd to your computer and use it in GitHub Desktop.
Save jscalo/624cd215465d85f9c14469a9b68b21bd to your computer and use it in GitHub Desktop.
List apps in Applications that have the app groups entitlement
#!/bin/bash
APPS_DIR="/Applications"
find "$APPS_DIR" -type d -maxdepth 1 -name "*.app" | while read -r app; do
if codesign -d --entitlements - "$app" 2>/dev/null | grep -q "com.apple.security.application-groups"; then
echo "$app"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment