Leidiges Thema: "Application failed codesign verification" in XCode

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Leidiges Thema: "Application failed codesign verification" in XCode

    Ich weiß, ich bin nicht der erste, aber alle Themen helfen nicht. Ich bekomme beim Upload meiner App die Meldung "Application failed codesign verification".

    Auch dieser Link von Apple hat nicht geholfen.

    Das "built" des "Archive Task" is "Release":
    [IMG:http://i.stack.imgur.com/s9bku.jpg]

    The bundle identifier is set correcty:
    [IMG:http://i.stack.imgur.com/8YU4j.jpg]
    [IMG:http://i.stack.imgur.com/r593B.jpg]

    The provisioning profile is Distribution / App Store
    [IMG:http://i.stack.imgur.com/U9UYP.jpg]

    [IMG:http://i.stack.imgur.com/idhG4.jpg]

    ...for the project...
    [IMG:http://i.stack.imgur.com/kfpPO.jpg]

    ...and for the target...
    [IMG:http://i.stack.imgur.com/r4n0z.jpg]

    But anyway I always get this error:
    [IMG:http://i.stack.imgur.com/0wMVn.jpg]

    Nun wäre ich für jede Hilfe enorm dankbar!
  • Console sagt dies:

    PHP-Quellcode

    1. codesign --verify -vvvv -R='anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.1] exists and certificate leaf[field.1.2.840.113635.100.6.1.4] exists' /Users/tom/Library/Developer/Xcode/DerivedData/Krankheiten-biptvczmvpaielgikfusuvddxurw/Build/Products/Release-iphoneos/Krankheiten.app
    2. /Users/tom/Library/Developer/Xcode/DerivedData/Krankheiten-biptvczmvpaielgikfusuvddxurw/Build/Products/Release-iphoneos/Krankheiten.app: valid on disk
    3. /Users/tom/Library/Developer/Xcode/DerivedData/Krankheiten-biptvczmvpaielgikfusuvddxurw/Build/Products/Release-iphoneos/Krankheiten.app: satisfies its Designated Requirement
    4. /Users/tom/Library/Developer/Xcode/DerivedData/Krankheiten-biptvczmvpaielgikfusuvddxurw/Build/Products/Release-iphoneos/Krankheiten.app: explicit requirement satisfied


    PHP-Quellcode

    1. codesign -dvv /Users/tom/Library/Developer/Xcode/DerivedData/Krankheiten-biptvczmvpaielgikfusuvddxurw/Build/Products/Release-iphoneos/Krankheiten.app
    2. Executable=/Users/tom/Library/Developer/Xcode/DerivedData/Krankheiten-biptvczmvpaielgikfusuvddxurw/Build/Products/Release-iphoneos/Krankheiten.app/Krankheiten
    3. Identifier=com.ThoXXXes.Krankheiten
    4. Format=bundle with Mach-O universal (armv6 armv7)
    5. CodeDirectory v=20100 size=1295 flags=0x0(none) hashes=56+5 location=embedded
    6. Signature size=4317
    7. Authority=iPhone Distribution: Tho XXXes
    8. Authority=Apple Worldwide Developer Relations Certification Authority
    9. Authority=Apple Root CA
    10. Signed Time=27.07.2012 09:56:56
    11. Info.plist entries=33
    12. Sealed Resources rules=3 files=143
    13. Internal requirements count=1 size=420
    Alles anzeigen


    PHP-Quellcode

    1. codesign -d --entitlements - /Users/tom/Library/Developer/Xcode/DerivedData/Krankheiten-biptvczmvpaielgikfusuvddxurw/Build/Products/Release-iphoneos/Krankheiten.app
    2. Executable=/Users/tom/Library/Developer/Xcode/DerivedData/Krankheiten-biptvczmvpaielgikfusuvddxurw/Build/Products/Release-iphoneos/Krankheiten.app/Krankheiten
    3. ??qq?<?xml version="1.0" encoding="UTF-8"?>
    4. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    5. <plist version="1.0">
    6. <dict>
    7. <key>application-identifier</key>
    8. <string>UG39V2CU8L.com.ThoXXXes.Krankheiten</string>
    9. <key>get-task-allow</key>
    10. <false/>
    11. <key>keychain-access-groups</key>
    12. <array>
    13. <string>UG39V2CU8L.com.ThoXXXes.Krankheiten</string>
    14. </array>
    15. </dict>
    16. </plist>
    Alles anzeigen


    Der letzte Teil dürften die Entitlements sein? Sieht da was faslch aus? Bei Entitlements tappe ich ziemlich im Dunkeln - was ist der Hintergrund?
  • Hier die Lösung:
    Try running the dot_clean command on your Xcode project's folder, do a
    clean build, and then rebuild your app and then try to submit your app.
    To use the dot_clean command open the Terminal application(it is
    located in the /Applications/Utilities folder), then type in
    "dot_clean"(without the quotes) then a space and then drag your Xcode
    project's folder onto the window. Once you have done that you should
    see something like:



    $dot_clean /path/to/my/Xcode/Project



    Then press enter to run the command.
    Das hat mich eine Woche gekostet. Oh weia.