Skip to content

Instantly share code, notes, and snippets.

@mattak
Created February 20, 2014 12:09
Show Gist options
  • Save mattak/9112168 to your computer and use it in GitHub Desktop.
Save mattak/9112168 to your computer and use it in GitHub Desktop.
extract provisioning profile's UUID
#!/bin/sh
security cms -D -i $1 | grep -A 1 UUID | tail -1 | perl -p -ne 's|</?string>||g' | perl -p -ne 's|\s||g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment