Question

Other question show how you can sign an already signed IPA, like this, or this. Specially this part is what interests me:

/usr/bin/codesign -f -s "iPhone Distribution: Certificate Name" --resource-rules "Payload/Application.app/ResourceRules.plist" "Payload/Application.app"

Once I have the re-signed ipa, how can I see/know that in fact the IPA I currently have has been signed by "iPhone Distribution: Certificate Name"?

Was it helpful?

Solution 2

I don't know if its the best way. By using Terminal you can browse the contents of signed ipa file. Change the extension to zip and extract it. Then try browsing to following path >Payload/AppName.app/embedded.mobileprovision.

You can copy the embedded.mobileprovision to some other location and open in text editor to see the details.

OTHER TIPS

codesign -d -vvvv /path/to/The.app

-d for displaying signature info, lots of vs for lots of verbosity.

To my knowledge, 'codesign' do not have any option to actually check that the resigning of the app is ok.

Actually, it can go wrong for many reasons (entitlements, provisioning, id mismatch ...).

The only way to check is to install the IPA (via Xcode, iPhone Configurator or iTunes if no other choice) on a device and see if the app launches.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top