gpt4 book ai didi

ios - Entitlements.plist 与 Appname.Entitlements

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:24:32 25 4
gpt4 key购买 nike

我正在将 APNS(iOS5、Xcode4)实现到应用程序中,但出现错误:

"The executable was signed with invalid entitlements."  

对 SO 和谷歌的研究告诉我使用 Entitlements.plist 但我已经有了 Appname.Entitlements, key 似乎几乎相同,除非我遗漏了一些东西,否则添加一个 Entitlements 文件已从新文件中消失模板。

那么这两者有什么区别呢?我是否只需要添加一个 plist 名称“Entitlements”?

还要验证:

-- 我的配置文件支持 APNS。-- 我正在使用正确的 Distribution 配置文件。-- 我将进行企业分发。

最佳答案

根据 Technical Note TN2250您应该只删除权利文件。

If you are defining a custom Code Signing Entitlements file within your Target > Build Settings, you might try removing that configuration entirely and rebuilding/resubmitting. More often than not, Code Signing Entitlements are defined unnecessarily. You only need to specify a custom Code Signing Entitlements file if your application is utilizing custom keychain access sharing or iCloud. Otherwise, remove the Code Signing Entitlements configuration from all build configurations on your Xcode project's Target > Build Settings, the rebuild and reattempt your submission/validation.

关于ios - Entitlements.plist 与 Appname.Entitlements,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12006616/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com