Signature is invalid for ad hoc only

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

Invalid code validation. The signature was invalid or was not signed with Apple's filing certificate. (-19011)

Debugging devices is great. The certificate associated with my ad hoc Provision profile does not expire until 2011. I searched Google but couldn't find a suitable solution except for some mentions about deleting and re-generating certificates. Before I went down this route, has anyone experienced and resolved this issue?

I am using Xcode 3.2.3 and am building against sdk 3.0.

+2


a source to share


1 answer


I sometimes get this problem. Do you have expired profiles on your phone? I find that sometimes expired profiles (even if it's for another application) will cause debug assemblies to not install.

If all else fails, remove any certificates associated with your developer account from Apple in Keychain Access. Get a new certificate and edit the provisioning profiles to reflect the new certificate. It's a huge pain, but if all else fails, it works.



Hope this helps!

+1


a source







All Articles