Force verification of code on Xcode 4.0.2 after repeatedly deleting keys, re-creating the project

I get this problem for almost 4 hours, becoming very upset. I passed the test and revoked my certificates and profiling 3 times now and started from scratch. I also ensured that my project was configured to use the DISTRIBUTION profile. I revoked and deleted my development certificate / prof, so I could not select it by accident. My mobileprofile file is being copied correctly. I am using Xcode 4.0.2. I started a new project and dumped the files there, and I have the same problem.

I have super-double-triple checked the instructions for obtaining certificates. Created secret keys, sent the file to the developer's development portal, received the certificate back, uploaded and matched my private key .. deleted all the inappropriate keys. Removed all old provisioning profiles that were saved in MobileProfile / ..

here, indeed, my project is configured correctly !!

here, really, my project is set up right !!

here, indeed, my goal (only the goal!) is configured correctly!

here, really, my target (only target!) is set up right!

Here is my keychain .. certificates look good enter image description here

My super-slow-thought-out training profile in Xcode is very good, it is definitely recognized as good and signed

enter image description here

I get:


rocessProductPackaging "/Users/rcl/Library/MobileDevice/Provisioning Profiles/AFFB40FF-FE57-4131-A1D1-0804E0E747FF.mobileprovision" /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app/embedded.mobileprovision
    cd /Users/rcl/Documents/iMan/iMan_On_Xcode402/iMan
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
     "/Users/rcl/Library/MobileDevice/Provisioning Profiles/AFFB40FF-FE57-4131-A1D1-0804E0E747FF.mobileprovision" -o /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app/embedded.mobileprovision

Then..

ProcessProductPackaging /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/Entitlements.plist /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Intermediates/iMan.build/Release-iphoneos/iMan.build/iMan.xcent cd /Users/rcl/Documents/iMan/iMan_On_Xcode402/iMan setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/Entitlements.plist -entitlements -format xml -o /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Intermediates/iMan.build/Release-iphoneos/iMan.build/iMan.xcent

Then...

CodeSign /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app cd /Users/rcl/Documents/iMan/iMan_On_Xcode402/iMan setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin/codesign -f -s "iPhone Distribution: Robert Lorentz" --resource-rules=/Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app/ResourceRules.plist --entitlements /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Intermediates/iMan.build/Release-iphoneos/iMan.build/iMan.xcent /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app

Then....

Validate /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app cd /Users/rcl/Documents/iMan/iMan_On_Xcode402/iMan setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv PRODUCT_TYPE com.apple.product-type.application /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app

warning: Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011) Executable=/Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app/iMan codesign_wrapper-0.7.10: using Apple CA for profile evaluation AssertMacros: signer, file: codesign_wrapper.c, line: 610 AssertMacros: profile, file: codesign_wrapper.c, line: 914 codesign_wrapper-0.7.10: Failed to load provision profile from: /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app/embedded.mobileprovision - (null)

Edit:

One note: I installed the beta version of Xcode 4.2, not sure if this might cause problems? I used the provided script and completely removed the developer beta tools and installed Xcode 4.0.2 again.

Edit:

, , "Common Name". Apple , iTunes Connect, , . , , , . , ?

:

, /Users/rcl/Library/Developer/Xcode/DerivedData/iMan-hapawfvbfkeskkaembwcgifzypdz/Build/Products/Release-iphoneos/iMan.app/embedded.mobileprovision md5sum ~/Library/MobileDevice/Provisioning Profiles../ (, , , .)

Edit:

, , , - . -, ?

Edit:

, " -" . , , com.panagiaindustries.iman; Apple SR49T455EV.com.panagiaindustries.iman... com.pana... , xcode. SR49T... , , Application Loader, "Bundle identifier SR49T... : com.pana..." . ?

Edit:

, , :






    get-task-allow
    
    application-identifier
    SR49T455EV.com.panagiaindustries.iman


+5
4

Xcode 4.0.2 4.2.x beta, 4.0.2. Xcode , " perl" script, 4.0.2. Xcode ... , , -. mv/Developer/Developer.old "" 4.0.2.

+4

, iPhone Apple Distribution App Store.

  • A CSR Mac. Keychain Access Finder → → → Keychain.    CSR . Apple Apple.

  • . Keychain. Keychain Access Finder → → → Keychain. . " " Personal Interchange Certificate (.p12) → .

  • Provisioning Profiles Apple Distribution. Provisioning Profile . Adhoc Appstore Provisioning Profile.

  • Adhoc Provisioning Profile Apple. * Appstore * Provisioining appstore. Provisioning Profile , . .

  • , Provisioning Profile Sign Signing.

6 ApplicationName.app.zip Application loader appstore.

: https://developer.apple.com

, .

+1

, ( ). . :

<key>get-task-allow</key>
<true/>

, , Xcode , . :

<key>application-identifier</key>
<string>[someNumber].[bundleID]</string>

, , iTunes Connect.

0

In the assembly log of the original message, you can see the main reason for this failure of the signature verification, expressed by the text: ".. Failed to load the provisioning profile from: (x)" . I came across two cases of this signature verification failure, and both were successfully handled by upgrading to Lion 10.7.2 and the latest Xcode for Lion (currently Xcode 4.2.1).

For others testing " " Xcode, Product> Archive time . Apple URL " : ?"

0
source

All Articles