Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Invalid Signature Error when I update in app store

Hello,

I uploaded the first version of my app to app store, then I tried to update my app to next version. When I choose my app file in "Upload Application" screen, I got error about invalid signature as below.

+The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate.+

Strange thing is I used exact same project configuration and machine when I uploaded the first one, but it will throw the error when I select the file.

I tried these things:
1. Create a new app id and provision file, and select the new provision file in target->Code Signing section
2. Changing Bundle Version Number in .pinfo file.

I'm trying some solutions people discussed here
http://discussions.apple.com/thread.jspa?messageID=7469931&#7469931

but I still get the same error message. Does anyone have advice for me?

iPhone

Posted on Jul 9, 2008 7:59 AM

Reply
53 replies

Jan 12, 2009 8:25 AM in response to s.narut

Hi all,

I got the same error and overcame by this:
1. Ensure the provisioning profile is embedded into the .app package. This can be done by showing package contents and check for the embedded.mobileprovision file.

2. Someone has trouble with the bundle identifier (like me) can check this:
- Note that the com.yourcompany.{PRODUCT_NAME} will not work.
- The bundle identifier must be similar to the App ID on the Program Portal.
So what I do is go to the Program Portal, copy my App ID, something like BLAHBLAH123.com.mycompany.something. Just remove BLAHBLAH123 prefix and paste the remaining to the bundle identifier. Please note that the App ID (without prefix) must be exactly pasted to bundle identifier (with every fullstop, underscore, EXACTLY). Then it works. This is what I've been doing.

Hope this helps. 🙂

Feb 6, 2009 6:19 PM in response to kiichi

Thank You, Thank You, Thank You. Kiicchi, you have saved me another night of pulling my hair out, and cursing my machine. I just changed my distributor provision to one which uses a wildcard appID, while leaving the Bundle Identifier (in info.plist and the General settings tab in the Targets file) as an explicit value. To Clarify: I used a provision with the appID com.CompanyName.* and a Bundle Identifier of com.CompanyName.AppName - and viola! upload success. Not sure how it will work out upon hitting the review board, but will leave updates

Mar 13, 2009 9:18 PM in response to songuke

If I look at the App ID in the portal it is just


BLAHBLAH123.*


My bundle identifier for my original app, which I am trying to upgrade, was


com.mycompany.${PRODUCT_NAME:identifier}


That was the way it was in there - literally. My original app upload worked just fine though and has been on sale since last September.

I was thinking I should change "mycompany" to my actual company name, but that didn't help either. I am still getting the dreaded


The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate.


error.

I'm so stuck. I don't know what to try next.

From your explanation, it sounds like I should strip BLAHBLAH123 but then all that would get pasted in the Bundle identifier field would be


.*


That doesn't look like it would be right, does it?

Thanks,

doug

Mar 15, 2009 6:00 PM in response to Flagship8787

If you are like me and had the wrong Bundle Identifier in your first version back before they checked... don't fret, the old one will still work.
If you are still getting this error, right click on MyApp.app and select Show Package Contents. Most likely you will be missing the file embedded.mobileprovision even though the log file clearly shows it being written. The fix is simple... Close XCode, delete MyApp.App, launch XCode and build. The file embedded.mobileprovision gets generated and everything is fine again.

Mar 15, 2009 6:05 PM in response to vpMobile

Thanks for your note.

However, as mentioned in my posting, I did Show the Package Contents and embedded.mobileprovision is there. I do that check for every app store build, as recommended in the manual.

If anybody is interested, I have complete screenshots and a list detailing all the steps I followed and can send a private email with everything - including a screenshot showing the Package Contents described above.

My email address is doug@lerner.net and anybody is welcome to email me if they are interested and can, hopefully, help.

Thanks!

doug@in despair

Mar 23, 2009 4:31 PM in response to Doug Lerner2

Hi there,
I was going through all your posts and couldn't figure out what to do with this: "The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate."

Basically I am submitting my App on iTunes Connect website. Provisioning Profile seems to be OK, Icon.png also, App ID as well, I have been even trying to create a new provisioning profile which then was rejected by my Xcode Organizer. So maybe really there is something wrong with my provisioning profile.

This is my first App though, worth to mention. Though I am seating on that already 6h and I am tired!

I do not know what else I can check, please help me on that if any one of you guys had the same problem.

Thanks in advance.

Mar 23, 2009 4:50 PM in response to iMarek

I did finally figure it out. In my case it was clearly an Xcode bug affecting older projects that haven't been updated in a while.

I posted my complete solution to this thread:

http://discussions.apple.com/message.jspa?messageID=9167082#9167082

It involves opening up the Xcode project package and doing an easy edit of a file inside the package remove a redundant line.

doug

Invalid Signature Error when I update in app store

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.