Skip to content

Instantly share code, notes, and snippets.

@wcoder
Last active May 24, 2023 20:08
Show Gist options
  • Save wcoder/98ef669d5a87ba1539db021c9f76b6b3 to your computer and use it in GitHub Desktop.
Save wcoder/98ef669d5a87ba1539db021c9f76b6b3 to your computer and use it in GitHub Desktop.
Show a list of all iOS provisioning profiles with decoded content
#!/bin/bash
PP="$HOME/Library/MobileDevice/Provisioning Profiles"
echo $PP
echo "All Provisioning Profiles:"
ls -al "$PP"
echo "Decoded Provisioning Profiles:"
for file in $(ls "$PP")
do
echo "--- $file:\n"
security cms -D -i "$PP/$file"
echo "\n---\n"
done
@wcoder
Copy link
Author

wcoder commented May 24, 2023

Also, list of certs:

security find-identity -v -p codesigning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment