ios - Weird error validating code-signing for apps-store distribution -


when building app distribution app store, following warning:

warning: application failed codesign verification.  signature invalid, or not signed apple submission certificate. (-19011)   executable=/users/tijszwinkels/dropbox/documents/projects/iphone/batterylogger pro/build/app-store distribution-iphoneos/batterylogger pro.app/batterylogger pro codesign_wrapper-0.7.10: using apple ca profile evaluation     illegal entitlement key/value pair: keychain-access-groups, <cfarray 0x104270 [0xa0376ee0]>{type = mutable-small, count = 1, values = (     0 : <cfstring 0x104170 [0xa0376ee0]>{contents = "eu.tinkertank.batteryloggerpro"} )} illegal entitlement key/value pair: application-identifier, eu.tinkertank.batteryloggerpro  - (null) 

upon submission, same 'application failed codesign verification' error.

this file said in error:

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict>     <key>application-identifier</key>     <string>eu.tinkertank.batteryloggerpro</string>     <key>keychain-access-groups</key>     <array>         <string>eu.tinkertank.batteryloggerpro</string>     </array> </dict> </plist> 

however, haven't configured 'manual' entitlements.plist file. therefore, file automatically generated from: /developer/platforms/iphoneos.platform/developer/sdks/iphoneos4.1.sdk/entitlements.plist

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict>     <key>application-identifier</key>     <string>$(appidentifierprefix)$(cfbundleidentifier)</string>     <key>keychain-access-groups</key>     <array>         <string>$(appidentifierprefix)$(cfbundleidentifier)</string>     </array> </dict> </plist> 

any ideas on wrong here?

in case keychain-access-groups wrong. easy miss, filemerge had hand me.

incorrect:

<key>keychain-access-groups</key> <array>     <string>$(teamidentifierprefix)$(cfbundleidentifier)</string> </array> 

correct:

<key>keychain-access-groups</key> <array>     <string>$(appidentifierprefix)$(cfbundleidentifier)</string> </array> 

the complete correct file:

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict>     <key>com.apple.developer.ubiquity-container-identifiers</key>     <array>             <string>$(teamidentifierprefix)$(cfbundleidentifier)</string>     </array>     <key>com.apple.developer.ubiquity-kvstore-identifier</key>     <string>$(teamidentifierprefix)$(cfbundleidentifier)</string>     <key>keychain-access-groups</key>     <array>         <string>$(appidentifierprefix)$(cfbundleidentifier)</string>     </array> </dict> </plist> 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -