Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid Signature - Itunes Connect

I always get an email from apple about an Invalid Signature when I try to upload my archive. I tried using automatic signing first, changed it to manual then. Deleted all old certificates, cleaned the project, recreated certificates + profiles from developer portal. Still no success.

I did the code signing settings on the target level as well as the project level. I also have no special character in the Product Name.

I also checked the output of the codesign/security commands like it's described in this answer

Does anyone have an idea what else to try? I also contacted the apple support yesterday and I am waiting for an answer.

The email content:

Dear developer,

We have discovered one or more issues with your recent delivery for "Bier brauen Bier Rezepte". To process your delivery, the following issues must be corrected:

Invalid Signature - A sealed resource is missing or invalid. The file at path [Bier brauen Bier Rezepte.app/Bier brauen Bier Rezepte] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html

Once these issues have been corrected, you can then redeliver the corrected binary.

like image 655
0s1r1s Avatar asked Jan 05 '18 08:01

0s1r1s


People also ask

How do you fix an invalid signature on iTunes?

Go to the Advanced tab, scroll down to Security category. Check the box for Allow software to run or install even if the signature is invalid. Press Apply to save changes and close this window, then Restart your computer.

What does it mean by invalid signature?

An invalid signature on a petition is a signature that was determined to contain errors that do not meet the state or local legal standards. Petitions could include petitions for citizen-initiated measures or candidates. People who collect signatures are called petition circulators.

How do I fix an invalid digital signature on my Mac?

1) This issue might be caused due to the software being installed is very old and your Mac ( Apple ) is not able to verify the validity of the certificate . 2) It may be corrupted, then you need to download a new copy of that installer from the Internet or get a new copy from somewhere.


1 Answers

I will add my 2 cents here, I had the same problem a few days ago, and the reason was that I had in my assets a file with an accentuated character "é" in one of my assets files causing the binary check to fail.

Once removed the invalid signature error was gone, and the binary was validated by apple.

More info: Avoid special characters in Executable names

like image 124
Gomino Avatar answered Sep 29 '22 12:09

Gomino