Search code examples
ioscode-signingprovisioning-profilecode-signing-entitlements

iOS -- look inside provisioning profile?


Is it possible to inspect the insides of a provisioning profile? I am dealing with a code signing error because the entitlements do not match. Fixing this is rather difficult as I don't know how to inspect the entitlements in the provisioning profile. Hence I am shooting in the dark.

Related questions, none of which seem to help in my case:


Solution

  • You can also do a text dump by typing

    security cms -D -i <prov>
    

    FWIW

    • security is to Administer Keychains, keys, certificates and the Security framework.

    • cms is a command within the security framework it stands for Cryptographic Message Syntax

    • -D is for decoding

    • -i means infile use infile as source of data (default: stdin)