Download CheckAppSignature-1.0.zip, run, drop .ipa or .app into its window and you'll see the code signature details.
IPA file is extracted into a temp directory, and then
codesign -dvvv /path/to/the.app
is run.
See TN2250: Understanding and Resolving Code Signing Issues for more info.