Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application failed codesign verification

I'm getting the following error when trying to submit my app to the app store. I went through the initial provisioning process and am able to run the app on my phone so not sure what's wrong.

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

EDIT: I tried downloading and installing a Distribution profile, but I'm still getting the error. Is there some way I need to link this new profile to my app in XCode? Thanks!

EDIT 2: I've now gotten a distribution provisioning profile from Apple and tried compiling with this. Getting the error "A valid provisioning profile for this executable was not found."

like image 857
Ian McIntyre Silber Avatar asked Aug 13 '10 05:08

Ian McIntyre Silber


2 Answers

Verify the following:

  • When creating the distibution profile, make sure that Distribution Method is "App Store".
  • In project settings, go to Build tab and make sure Code Signing Identity is the distribution profile you created for the App Store
  • In Target settings (double-click on Target in your project), go to Build tab and make sure Code Signing Identity is the distribution profile you created for the App Store

It's recommended that you have a configuration in your project settings for AdHoc and App Store builds. I've found it makes life easier when it comes time to deploy.

like image 138
keno Avatar answered Sep 28 '22 18:09

keno


For the Xcode build warning or Archive Validation error "Application failed codesign verification", see Apple's complete list of potential causes for this problem at "How do I resolve the error: Application failed codesign verification?".

For the error "A valid provisioning profile for this executable was not found", typically this error occurs while attempting to run your app on device thru Xcode yet you mentioned that you're uploading the app to the store? Ensure that you're following the recommended steps for uploading your iOS app to the store using "Steps to submit your app to the App Store".

For others receiving the error "A valid provisioning profile for this executable was not found" check that you're following Apple's recommended steps for running on device thru Xcode at "Steps to run your app on device thru Xcode".

like image 22
Bobjt Avatar answered Sep 28 '22 20:09

Bobjt