Application failed codesign verification, iPhone - iphone

I have made an app for the iPhone using flash CS 5.5, tested it on a device (it works fine on there) and I'm member of the development programme. I'm attempting to upload the app to the store after filling in all the information on iTunes connect. However, when I attempt to upload the ipa file through the Application Loader (Version 2.5.2) I keep encountering the same error:
'Application failed code sign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate.'
I've tried creating the certificates again but still getting the same error.
Thanks for any help :)

It means that you are not using iPhone Distribution Certificate, which is required to upload apps on the app store. I'm guessing you are using a developer certificate.
Here is link how to create distribution certificate for app store submission: Steps to create a distribtution certificate.
Next time do a search you'll get plenty questions related to this topic. For example:
Application failed codesign verification?

Try again with your release certificates, and make sure that whatever you are quoting there for making the certificate should be same as you app's plist file.
Refer to this links: Building Your App for Distribution

Related

verification failed as the authority is invalid

I'm trying to resign an ipa which is already signed with the developer certificate.
Now I'm resigning with the enterprise distribution certificate.
I've got proper provisioning profile, ios_distribution certificate to sign the app.
I'm following this answer Re-sign IPA (iPhone) for the resigning steps.
With this I'm successfully able to resign the ipa but when I try to install this via itools, I'm getting this error: verification failed as the authority is invalid.
Another thing is I'm resigning with the enterprise distribution certificate but still when i try to install the resigned ipa directly (keeping resigned ipa on dropbox) getting this error "safari can't download this file" which I believe should come when the app is not signed with the enterprise distribution certificate and someone try to download that file directly on iphone (not via appstore or itunes).This certificate says I can distribute this app outside the appstore, so I'm confused what I'm really missing.
I don't know about itools and the error message doesn't sound right, but it could be that
xcrun PackageApplication is copying your dev app's entitlements across to the distribution app and they don't match what's in your distribution profile. e.g get-task-allow may still be true.
If you use a distribution signing identity PackageApplication actually tries to fix this, but it just failed for me now and I get an unusable IPA. Ah, looks like it detects the "distribution-ness" of your signing identity with regular expressions. I was using the abbreviated form "My Company (ID)" form instead of "iPhone Distribution: Company Name (ID)".
If I use the longer form, the resulting binary installs fine. The more you know.
You can't install IPA files directly from Safari, you need to set up an itms anchor tag and a plist, and a bunch of absolute URLs as described here.

Problems in uploading iPhone app to app store?

When i am uploading application to app store i got the following issues in application loader
Please give me suggestions?
You need to generate app store provisioning profile with distribution certificate that is generated using code signing certificate on your current machine. I think you are submitting app from machine which is not you used to generate provisioning profile.

Application Loader Errors (iPhone)

I am getting these error messages when trying to send my application's binary to Apple.
Info.plist does not contain a CFBundleResourceSpecification
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate.
Not sure what's wrong. Can anyone help?
Thanks.
Try downloading the distribution certificate from the apple provisioning site. Go through all the steps again.
If that doesn't work. Delete all of the provisioning files from your iphone/ipod and your mac's keychain
Are you sure you are uploading your iPhone Distribution build? Codesigned by your Distribution profile? And not some Debug or Simulator build? And not something signed by your Developer certificate?

How to re codesign iPhone app binary?

I'd like to send a binary to a client without the source code.
How can here sign the app for distribution on it's own name without
recompiling everything (since he does not have the source code)
I'm not talking about adhoc distribution.
I've tried to codesign -f with another distribution profile but itunes
connect refuses it.
The client needs to send you his distribution certificate and personnal certificate with his public key, matching his iPhone developer identity, so you can compile the app with his informations.

Xcode iPhone project Code Signing error

Whenever I try to build my iPhone app in Xcode 3.2.1 I get an error that says:
Code Sign error: The identity 'iPhone Distribution: foo' doesn't match any identity in any profile
This is a distribution certificate, however it worked perfectly with a developer certificate.
I have revoked and installed all of my iPhone certificates, and Google hasn't been of much help either. How can I build my app without this error?
This looks similar to an earlier question, that says you need to generate a new provisioning profile for your new certificate.
EDIT:
From looking at the Code Sign error, it seems it is trying to match up your distribution certificate with a provisioning profile.
I have not yet distributed an app to the App Store, but it seems you have to create an "App Store Distribution Provisioning Profile". See this doc from the Apple Developer Connection.