Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

application failed codesign verification - solved issue

Community Beginner ,
May 30, 2012 May 30, 2012

Hey all, I just spent many many hours trying to figure this out, so thought I would share what I finally figured out, and hopefully save someone else from the frustration.

I finished my iOS app using Flash CS5.5 air 2.6, and wanted to post it to the app store. It worked fine on iPad's, iPhone's, and iPod touch's using the development certificates and provisioning profiles. When trying to upload it using Application Loader, though, I kept getting the error "application failed codesign verification...". It didn't give me information to try and guess what might be going on, which was incredibly frustrating. I must have tried a hundred different variations on creating keys, creating certificates, creating app ids, creating provisioning profiles, etc.

for reference (again, for others having this problem reading this), common issues that I saw on other posts when you get this error are using development provisioning profiles instead of distribution, development certificates instead of distribution, or not using the correct settings when publishing in flash. Make sure in the deployment tab in iOS settings in flash cs5, you have the correct distribution certificate and distribution provisioning profile - not development - and that the app ID under the provisioning profile (e.g. com.mycompany.myapp, without the numbers in front) matches the bundle id in iTunes connect, and that you are set to publish as Deployment - Apple App Store at the bottom.

In the end, here are some things I was wondering might be the mysterious issue, that are ok to do

-- you can use OpenSSL to generate all the certificates and keys you need, publish with flash on a PC using those files, then move the file to a mac to use with Application Loader

-- you don't have to unzip the ipa file anymore (some posts I read say that you used to need to unzip it, then re-zip the folder within the ipa file)

-- Apple's procedures for checking codesign verification were not helpful. They indicated problems that in the end weren't really problems. They don't really seem to work on a non-xcode based app (I was getting desparate, trying everything I could to figure out what might be the issue).

-- I'm still not positive how careful you need to be, when creating your key with OpenSSL if you use the correct CN and email address, but that didn't seem to be my problem in the end.

to get all the files you need, I basically followed the instruction here

http://www.adobe.com/devnet/air/articles/packaging-air-apps-ios.html#articlecontentAdobe_numberedhea...

even though it isn't for flash, the provisioning and certificate stuff is the same.

so... the thing that was keeping my app from successfully uploading was the name for my .fla file. That is a pretty lame place for it to fail, and even worse that a simple name matching created an error that makes it seem like the keys and provisioning had a problem. I had made sure my app name within the settings within Flash matched the name on iTunes connect. I even unzipped the ipa file at one point, and changed the name within to match the name on iTunes connect (which was a pretty close guess). I guess that name propogates in the ipa file structure somehow, such that you have to make sure the file you even use to open your flash document, unrelated to specific settings within flash, needs to match your app name.

Hope that saves someone else the frustration I had. Hopefully my app is out next week (a kids Customizabooks book app, I'm Scared )

thx

tomlucient.

TOPICS
Development
2.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 03, 2013 Jul 03, 2013

This is very helpful… I think. I'm getting the 'Application failed codesign verification' error and my certificates seem to be in order. If there are spaces in my app name in iTunes Connect, do I also put spaces in the FLA? Then the App ID should match, but can't have spaces.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 03, 2013 Jul 03, 2013

yes, spaces in the app name in iTunes Connect should match spaces in your fla filename.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 04, 2013 Jul 04, 2013

Thank you, I am a few weeks away from this point and your post is helpful and detailed.  Does anyone know if this issue persists in flash cs6?

Justin

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 04, 2013 Jul 04, 2013
LATEST

I'm using CS6 now. I haven't tried using a fla filename with a name different than the iTunes name, but I know that if you do keep the names the same with CS6 then it works My guess is that the 'content' name in the *-app.xml file needs to match up so that Apple knows you're uploading the correct IPA file. I haven't tested that that is really where it grabs the name from, but that's my best guess. One other thing I'll add is that the <filename> and <name> values in the xml file can be different. Those values are what are shown on the iPhone/iPad main desktop/app chooser screen. In CS6, you set the screen name in air for ios settings -> App name:. Changing this does not cause problems with uploading to Apple. thx, Tom

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines