Reputation: 51
I'm building my app with the correct Distribution Certificate and building an archive so I can submit to Apple.
Upon verification, it keeps giving me this error about failing verification.
When I look at the log, the error says:
Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate. (-19011)
Any idea how I can fix this?
Thanks,
JH
PS: Using Xcode 4.2
Upvotes: 0
Views: 1223
Reputation: 4556
I got this when accidentally validating my archive using my developer provisioning profile instead of my distribution provisioning profile.
Upvotes: 0
Reputation: 8472
I ran into this problem today. Solution #2 below fixed my problem, but here's a list of things to try. If anyone else has suggestions please add them in comments!
PROVISIONING_PROFILE=12345678-blah-blah-blahblah
Much harder fixes, might require hours:
Upvotes: 1
Reputation: 1077
Pretty sure you can't build archives for submission with xcode 4.2 yet. Only xcode 4.1.
Upvotes: 0