Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

  • Code sign error with Xcode 3.2
  • The executable was signed with invalid entitlements
  • iPhone Entitlements problem with XCode 4 for Ad Hoc distribution
like image 226
William Jockusch Avatar asked Aug 06 '12 19:08

William Jockusch


People also ask

How do I find provisioning profiles on my iPhone?

The easiest way to manage the provisioning profiles on the iPhone is to open Xcode and select the menu item "Devices and Simulators" in the Window menu. Right-click on your iPhone XS and select "Show provisioning profiles". You'll then be able to see the installed profiles, add new ones and delete existing profiles.

What is a Mobileprovision?

What is a MOBILEPROVISION file? File used by Apple Xcode, a software development IDE often used for creating iPhone apps; contains a provisioning profile, which allows an app to be uploaded to a limited number of iPhones or iPads while it is still in development.


1 Answers

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)

like image 109
Sean Danzeiser Avatar answered Sep 20 '22 00:09

Sean Danzeiser