Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save surendharreddy/f6c8b9154548af953b94770f35226a2a to your computer and use it in GitHub Desktop.
Save surendharreddy/f6c8b9154548af953b94770f35226a2a 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