I'm getting this error after choosing my application record and signing identity in the "Submit..." wizard. I've check various things based on the answer on this site:
- I have a Distribution Certificate that expires in Jan 13, 2013.
- I create a Distribution Provisioning Profile for my app.
- Both the project and target have "iPhone Distribution: [company name]" set in Code Signing/Code Signing Identity/Release/Any iOS SDK.
- The same identity was chosen in the "Submit..." wizard.
- Release is selected in the "Archive" scheme as Build Configuration.
I'm not using any entitlements (Xcode 4.2, without iCloud support)
Validate /Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app
cd /Users/leonelgalan/Documents/workspace/ios/alma
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PRODUCT_TYPE com.apple.product-type.application
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app
warning: Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate. (-19011)
Executable=/Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app/alma
codesign_wrapper-0.7.10: using Apple CA for profile evaluation
/Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app: valid on disk
/Users/leonelgalan/Library/Developer/Xcode/DerivedData/alma-dhzvecjmumvhvggrmlmqpnjblkoy/ArchiveIntermediates/alma/InstallationBuildProductsLocation/Applications/alma.app: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)
codesign_wrapper-0.7.10: failed to execute codesign(1)
- (null)