views:

703

answers:

2

I'm not sure what changed on my ad hocs but I get this error when trying to install:

Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)

Device debug builds fine. The cert that is associated with my ad hoc provisioning profile doesn't expire until 2011. I've searched Google but haven't found any applicable solution, except some mention about deleting and recreating the certs. Before I go down that rode, has any one experienced and resolved this issue?

I'm using Xcode 3.2.3 and building against sdk 3.0.

A: 

Sometimes I get this issue as well. Do you have any expired profiles on your phone? I find that sometimes expired profiles (even if it is for a different application) will cause debug builds to not install.

If all else fails, delete all the certificates associated with your developer account from Apple in Keychain Access. Get yourself a new certificate, and modify the provisioning profiles to reflect the new certificate. This is a huge pain, but if all else fails, this works.

Hope this helps!

Brian515
I've the above and it works for me (the developer) but not for someone else, although it use to work fine.
A: 

Check this solution, works for debug builds....

http://iphonedevelopmentexperience.blogspot.com/2010/09/application-failed-codesign.html

Vitrex