Xcode 8 表示配置文件具有 aps-environment 权利,但在导出后存档 aps-environment 丢失 [英] Xcode 8 Says Provisioning Profile Has aps-environment entitlement but after export Archive aps-environment is missing
问题描述
因此,在 Xcode 中,配置文件说 aps-environment 权利是其中的一部分,但在存档后,配置文件缺少 aps-entitlement.
So in Xcode the provision profile says that aps-environment entitlement is part of it but after Archive the provisioning profile is missing the aps-entitlement.
推荐答案
Xcode 8 发行说明中提到了这个问题:
The Xcode 8 release notes mention this issue:
Xcode 8 不会在构建时自动从配置文件中复制 aps-environment 权利.这种行为是故意的.要使用此权利,请在项目编辑器的功能"窗格中启用推送通知,或手动将权利添加到您的权利文件中.(28076333)
Xcode 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor’s Capabilities pane, or manually add the entitlement to your entitlements file. (28076333)
通常,您希望应用程序拥有的任何权利都应在您的权利文件中.
In general, any entitlement you intend your app to have should be in your entitlements file.
这篇关于Xcode 8 表示配置文件具有 aps-environment 权利,但在导出后存档 aps-environment 丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!