codesign
tool does that.
How to use:
% cd ~/Library/Developer/Xcode/Archives/$DATE/Campwhere.xcarchive/Products/Applications % codesign -dvvv ./Campwhere.app % codesign -d --entitlements - ./Campwhere.app
% unzip Catalog.ipaStuff will appear in a directory called "Payload"
Then you can look at signing:
% codesign -dvvv Payload/Catalog.app/ Executable=/Users/markd/junk/Payload/Catalog.app/Catalog Identifier=com.bignerdranch.Catalog Format=bundle with Mach-O thin (armv7) CodeDirectory v=20100 size=2513 flags=0x0(none) hashes=117+5 location=embedded ... Authority=Apple Worldwide Developer Relations Certification Authority Authority=Apple Root CA Signed Time=Aug 30, 2012 5:21:26 PM Info.plist entries=28 Sealed Resources rules=3 files=31 Internal requirements count=1 size=296as well as entitlements:
% codesign -d --entitlements - ./Payload/Catalog.app Executable=/Users/markd/junk/Payload/Catalog.app/Catalog <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>application-identifier</key> ...