ITMS - 90179 Invalid Code Signing / ITMS - 90209 Segment Alignment Incorrect

ERROR ITMS - 90179 Invalid code signature. The executable "Payload /UFO.app/UFO" must be signed with the certificate contained in the training profile.

ERROR ITMS - 90209 Incorrect segment alignment. The binary application in 'UFO.app/UFO' does not have the correct segment alignment. Try rebuilding the application with the latest version of Xcode.

I get these two errors no matter what I try. I deleted all my profiles and certificates, redid them and even redid the application identifier several times, and nothing happened and still was the same error. I also updated Xcode and still the same errors.

I used the Wildcard application to create my .ipa file in Flash Pro CC by selecting the Apple App Store, and tried to publish it through the application loader.

Is there any solution to these two problems? Thanks.

+4
source share
4 answers

There seems to be a conflict with the dev and prod certificates. Finally, I was able to submit the following steps:

(1) go into the keychain and delete both certificates (dev and distribution)

(2) go to the Apple website and download the distribution certificate

(3) install only the distribution certificate!

(4) export p12 from private key

(5) go to the distribution profile of the Apple distribution and regenerate / download.

From there it worked fine, don't ask why ...

+1
source

Restart Xcode, it must resolve before trying to add sentences. His classic trick that seems to work even today: P

+1
source

my english is not so good, but I will try to explain to myself as much as I can ... y just solve this error that I also had "ERROR ITMS - 90179 Invalid code signature". The executable "Payload /UFO.app/UFO" must be signed with the certificate that is contained in the provisioning profile "..... First of all, my application uses push notifications, so I created a push notification certificate and installed it on my Keychain (aps_production) along with my application distribution certificate (ios_production.cer), and I exported the application distribution certificate (ios_production.cer) using a keychain to export to a .p12 file .... so I got this error ... that what I did is that I deleted everything on my keychain and just a mouth I installed ios_distribution.cer without aps_production.cer, so I fix this problem ..... it seems that if you export to .p21 with other files on the key chain associated with the same application, your certificate will also get an error ... hope this helps you ...

0
source

I had ITMS-90179 downloading an iPhone application made using the Marmalade SDK. It was decided like this:

1.- Removed all my distribution certificates on the Apple dev portal

2.- Created a new distribution certificate

3.- Removed all distribution distribution profiles

4.- Created a new distribution provisioning profile

5.- Generated a new .ipa using .mobileprovision from step 4

6.- Attempting to upload this file to the App Store, this time it worked.

Hope this helps!

0
source

Source: https://habr.com/ru/post/1245542/


All Articles