Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tuantranf/46d4aa0fd049185acb2dc11985aae998 to your computer and use it in GitHub Desktop.
Save tuantranf/46d4aa0fd049185acb2dc11985aae998 to your computer and use it in GitHub Desktop.
Check devices in a provisioning profile

After exporting an ipa for Ad Hoc Deployment, it could be useful to check if all authorized devices are well configured in a provisioning profile. To read a provisioning profile you have to unarchive your ipa :

$ unzip your.ipa

find the embedded.mobileprovision file :

$ ls yourUnzippedIpa/Payload/appName.app/embedded.mobileprovision

and then check if an uuid is well configured :

$ security cms -Di yourUnzippedIpa/Payload/appName.app/embedded.mobileprovision | grep uuidYouWantToCheck

That's all !

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