我正在尝试将我的应用程序部署到商店,但遇到了可怕的代码签名问题。我已经在本地计算机上刷新了所有配置文件等(我希望我不必在配置门户中重新制作它们),但仍然没有运气。我的应用确实使用了 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