ios – 由于权利无效,应用程序验证码验证失败

前端之家收集整理的这篇文章主要介绍了ios – 由于权利无效,应用程序验证码验证失败前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我用谷歌搜索了这个废话,找不到任何解决方案.几个月前,当我更新其他应用程序时,它也发生在我身上.

我正在运行Xcode 4.2.

构建日志:

Validate /Users/chrismanahan/Library/Developer/Xcode/DerivedData/ThoughtSpreader-gpmecrthgzqfboguxycmyxiaijjc/ArchiveIntermediates/ParseStarterProject/InstallationBuildProductsLocation/Applications/ThoughtSpreader.app
cd "/Users/chrismanahan/Downloads/ParseStarterProject 2"
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/chrismanahan/Library/Developer/Xcode/DerivedData/ThoughtSpreader-gpmecrthgzqfboguxycmyxiaijjc/ArchiveIntermediates/ParseStarterProject/InstallationBuildProductsLocation/Applications/ThoughtSpreader.app

warning: Application Failed codesign verification.  The signature was invalid,or it was not signed with an iPhone Distribution Certificate. (-19011)
Executable=/Users/chrismanahan/Library/Developer/Xcode/DerivedData/ThoughtSpreader-gpmecrthgzqfboguxycmyxiaijjc/ArchiveIntermediates/ParseStarterProject/InstallationBuildProductsLocation/Applications/ThoughtSpreader.app/ThoughtSpreader
codesign_wrapper-0.7.10: using Apple CA for profile evaluation
Illegal entitlement key/value pair: com.apple.developer.ubiquity-kvstore-identifier,894BCL9P67.com.manahan.thoughtspreader
Illegal entitlement key/value pair: com.apple.developer.ubiquity-container-identifiers,<CFArray 0x10d10aa10 [0x7fff7d96cea0]>{type = mutable-small,count = 1,values = (
0 : <CFString 0x10d10a860 [0x7fff7d96cea0]>{contents = "894BCL9P67.com.manahan.thoughtspreader"}
)}
AssertMacros: filter_entitlements(entitlements_whitelist,entitlements_requested,allowable_entitlements),file: codesign_wrapper.c,line: 932
- (null)

解决方法

我打赌你的问题的关键(原谅双关语?)在这里:
Illegal entitlement key/value pair: com.apple.developer.ubiquity-kvstore-identifier,values = (...

您的应用ID仍然是894BCL9P67.com.manahan.thoughtspreader吗?

或者更改/需要更新这些键? (根据说明here?)

链接表明您需要团队ID而不是您的app id捆绑种子.因人而异. (Apple记录了这些密钥here,提出了相同的建议.我猜你正在使用iCloud,或者设置你的项目最初使用它.)

对于不熟悉w / iCloud设置的人,您可以在此处更改这些键的值:

该设置窗格是项目文件下目标摘要的一部分.选择所需的目标和摘要’选项卡’,如下所示(然后滚动到底部):

Apple的配置文档是here.

猜你在找的iOS相关文章