Invalid code verification. (-19011)

For several days, when I got stuck in this problem, I tried to delete / clear all keys / certification and reload them, I tried to delete all the provisioning profiles and cancel them and update. But every time I get this problem,

Im working with the latest Xcode, 4.3.2.

warning: checking for failed application code. The signature was invalid, contains prohibited rights, or it was not signed with an iPhone distribution certificate. (-19011) "

Validate / Users / jimmylind 91 / Library / Developer / Xcode / DerivedData / JagHarAldrig-bkpyqdmptyxcntauxwsbrsqbmlji / Build / Intermediates / ArchiveIntermediates / JagHarAldrig / IntermediateBuildFilesPath / UninstalledProducts / Jaghdmldjagdmldjagdmldjagdmdmjagdmdmjagdmdmjagdmdjagdmld PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/USR / SBIN: / SBIN "setenv PRODUCT_TYPE com.apple.product-type.application /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation / Users / jimmylind 91 / Library / Developer /Xcode/DerivedData/JagHarAldrig-bkpyqdmptyxcntauxwsbrsqbmlji/Build/Intermediates/ArchiveIntermediates/JagHarAldrig/IntermediateBuildFilesPath/UninstalledProducts/JagHarAldrig.app

warning: checking for failed application code. The signature was invalid, contains prohibited rights, or it was not signed with an iPhone distribution certificate. (-19011) Executable = / Users / jimmylind91 / Library / Developer / Xcode / DerivedData / JagHarAldrig-bkpyqdmptyxcntauxwsbrsqbmlji / Build / intermediates / ArchiveIntermediates / JagHarAldrig / JarAndrigdarldagrardrigdarldagrardjarldgarapp profile ratings / Users / jimmylind 91 / Library / Developer / Xcode / DerivedData / JagHarAldrig-bkpyqdmptyxcntauxwsbrsqbmlji / Build / Intermediates / ArchiveIntermediates / JagHarAldrig / IntermediateBuildFilesPath / UninstalledProducts / JindHimm JindHim Library /DerivedData/JagHarAldrig-bkpyqdmptyxcntauxwsbrsqbmlji/Build/Intermediates/ArchiveIntermediates/JagHarAldrig/IntermediateBuildFilesPath/UninstalledProducts/JagHarAldrig.app: met the requirements for testing t specified requirements (-am) code codeign_wrapper-0.7.10: failed to execute code (1) - (null)

+6
source share
6 answers

make sure you set up a distribution provisioning profile in your resource provisioning portal!

create a new profile .... upload it and configure it ...

which will fix your problem, I hope. great ones from switzerland oliver

+2
source

I also had the check "Invalid application code check". The signature was invalid, contains prohibited rights, or it was not signed with an iPhone distribution certificate. (-19011). "I recently upgraded to Xcode 4.5.1.

In my case, the solution was to go to the settings of my target assembly, and in the "Assembly parameters" section, change the settings for "Verify build product". I changed Debug from Yes to No.

+18
source

Just read the sdk forums, this is due to the length of the product name.

"All I had to do to figure this out was to change the PRODUCT name in the assembly properties to something shorter. Also make sure that the package name in either info.plist is either read from ProductName or also short - it can be 3 characters, because the display name of the package is the one that appears to users! " - Zuningo from the sdk forum.

+3
source

Downloading a distribution certificate (not a provisioning certificate) from the Provisioning Portal iOS portal and installing it fixed the problem.

0
source

I have three configurations: Debug; Release; Spread. I had such a problem and I did not understand what to do. I made a decision from the user dre1138 and upgraded it a bit. In TARGETS-> myapp-> Build Options-> Validated Built Product I turned off Debug and Release to "No" and included the distribution in "Yes". The problem was solved.

0
source

I had to do two things:

  • Delete expired certificates in Keychain Access. By default, they are not displayed; you must enable it in the menu.

  • Check the box "Permissions [x] Use permissions file:" on the Summary tab of the target’s properties.

0
source

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


All Articles