Skip to content

Instantly share code, notes, and snippets.

@silvansky
Created October 9, 2015 09:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silvansky/3470cd7125356f166165 to your computer and use it in GitHub Desktop.
Save silvansky/3470cd7125356f166165 to your computer and use it in GitHub Desktop.
Print name and description of .mobileprovision files
#!/bin/sh
echo
echo $1
/usr/libexec/PlistBuddy -c 'Print TeamName' /dev/stdin <<< $(security cms -D -i ${1})
/usr/libexec/PlistBuddy -c 'Print :Entitlements:application-identifier' /dev/stdin <<< $(security cms -D -i ${1})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment