我正在尝试将我的应用部署到商店,但遇到了可怕的代码签名问题。我在本地计算机上刷新了所有配置文件等(我希望我不必在配置门户中重新创建它们),但仍然没有运气。我的应用程序确实使用了plist中定义的后台位置检查,但除此之外我不知道它可能指的是什么不允许的权利。唯一可能的问题可能是我在开发过程中将我的应用程序重命名,但我已经更新了我的所有配置文件,目标信息等以匹配新名称。我不知所措。我可以构建并运行它,它只是不会签名。请参阅下面的完整警告日志:
Validate /Users/benchirlin/Library/Developer/Xcode/DerivedData/Yodlr-blhadxxlldqhvobcgzqdncvvaoao/Build/Intermediates/ArchiveIntermediates/Yodlr/InstallationBuildProductsLocation/Applications/Yodlr.app
cd "/Users/benchirlin/Documents/Workspaces/Xcode Workspace/iFM"
setenv 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/benchirlin/Library/Developer/Xcode/DerivedData/Yodlr-blhadxxlldqhvobcgzqdncvvaoao/Build/Intermediates/ArchiveIntermediates/Yodlr/InstallationBuildProductsLocation/Applications/Yodlr.app
warning: Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)Executable=/Users/benchirlin/Library/Developer/Xcode/DerivedData/Yodlr-blhadxxlldqhvobcgzqdncvvaoao/Build/Intermediates/ArchiveIntermediates/Yodlr/InstallationBuildProductsLocation/Applications/Yodlr.app/Yodlrcodesign_wrapper-4.1: using Apple CA for profile evaluation/Users/benchirlin/Library/Developer/Xcode/DerivedData/Yodlr-blhadxxlldqhvobcgzqdncvvaoao/Build/Intermediates/ArchiveIntermediates/Yodlr/InstallationBuildProductsLocation/Applications/Yodlr.app: valid on disk/Users/benchirlin/Library/Developer/Xcode/DerivedData/Yodlr-blhadxxlldqhvobcgzqdncvvaoao/Build/Intermediates/ArchiveIntermediates/Yodlr/InstallationBuildProductsLocation/Applications/Yodlr.app: satisfies its Designated Requirementtest-requirement: code failed to satisfy specified code requirement(s)codesign_wrapper-4.1: failed to execute codesign(1) - (null
答案 0 :(得分:0)
我将我的代码签名身份转换为我的通配符分发标识,它终于工作了......