PDA

View Full Version : ApplicationLoader says Codesign verification failed (Although Xcode said it was OK)




I'm a Mac
Mar 1, 2009, 12:44 PM
Even though I can successfully test my app on my device, and the build log says that the app was successfully codesigned, I still get the "Codesign verification build after I try to upload my app with application loader" And yes, I use finder to manually compress the binary.

The build results include both the embedded mobile provision line, and the Codesign line included in the instructions. Why is applicationloader still telling me that the codesign verificatication failed?

For the project setting: I have Code Signing Identity set to "iPhone Distribution" For my target setting for Distribution, both code sign identity and the "any device" are set to my mobile provision which now says iPhone Distribution: My Name.

I tried modifying it by looking a tips I found online, such as changing the project setting to iPhone Distribution, and changing the target setting to iPhone distribution instead of iphone developer, but I'm still getting these error messages. Any idea why?



jbellanca
Mar 1, 2009, 02:39 PM
I know this probably isn't helpful, but I've had this exact issue even since upgrading to 2.21, never before. Now, it happens constantly. The only "fix" I have come across, if you can call it that, is to keep trying... eventually, iTunesConnect will accept a build, maybe 1/20 tries.

forcesteeler
Mar 1, 2009, 05:03 PM
It use to happen to me also and i bust my brains out for a whole weekend trying to get the code sign to work.

But i broke it down to a science. In Xcode there are two ways to add the "My Iphone Distribution Profile" You must set it in the Project "Edit Settings" and the "Target". You have to set 2 of the same profiles. I don't know why but

After that it should work like a charm. I never had a problem after that.

Good luck

I'm a Mac
Mar 1, 2009, 05:08 PM
I did that. I set the Code signing identity for all configurations as my provisioning profile, which says iPhone Developer: My Name, and then for the target, i set it for the same exact thing. Still not working.

I attached an error log I found every time I try to use application loader.

forcesteeler
Mar 1, 2009, 05:42 PM
Click "Edit Project Settings" in the Project Menu





http://f.imagehost.org/0732/1_8.png





Make sure you see the "My Iphone Profile" and click it




http://f.imagehost.org/0663/2_2.png





Now go to "Targets" and click "Get info"







http://f.imagehost.org/0395/3_6.png






Now Make sure you see the "Iphone Profile" and click it again





http://g.imagehost.org/0888/4_4.png





Everything Should Code sign now

I'm a Mac
Mar 1, 2009, 10:51 PM
The odd thing is, everything code signs in the first place. I get the correct build results from xcode, and it works fine on my device. It's just an application loader issue. And btw, in later versions of Xcode, code sign provisioning profile is merged with code signing identity. But yes, I followed your instructions, and the same idiotic application loader error Arghh!

john3478
Mar 2, 2009, 01:45 PM
The odd thing is, everything code signs in the first place. I get the correct build results from xcode, and it works fine on my device. It's just an application loader issue. And btw, in later versions of Xcode, code sign provisioning profile is merged with code signing identity. But yes, I followed your instructions, and the same idiotic application loader error Arghh!

I got exactly the same problem. I wonder may be no body ever successfully uploading using application loader

I'm a Mac
Mar 2, 2009, 05:53 PM
I finally figured it out. I feel like such an idiot. I was using a development profile, and not a distribution profile. How I couldn't realize that is beyond me. But, everyone makes mistakes. Thanks for all of your help everyone.

Also, for bank info, do they actually want to you put your bank's address for Bank info? Is that necessary?

DreamPod
Mar 3, 2009, 12:20 AM
Your first clue shoulda been that the build worked on your device :) A distribution build will not work on any device until Apple has encoded it. Caused me a lotta hassle back in the day, that I couldn't test the final build that got submitted.