Search code examples
iosprovisioning-profilexcodebuildios-provisioning

Tool for displaying the contents of a Provisioning Profile (.mobileprovision) file?


I have the dreaded

Code Sign error: No matching provisioning profiles found: This product type
must be built using a provisioning profile, however no provisioning profile
matching both the identity “Foo, Inc” and the bundle identifier “com.foo.Bar”
was found.

... error emanating from xcodebuild (by way of Shenzhen) but I think it's lying to me. Is there a tool I can use to see what certificates and bundle identifiers are included in the .mobileprovision file I'm passing in? I've run strings on it and it looks right, but it's hard to tell exactly.


Solution

  • You can try the following command: security cms -D -i some.mobileprovision but hard to tell if it will be helpful.