Xcode 8 Says Provisioning Profile Has aps-environm

2019-09-08 12:34发布

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 screenshot of entitlements

Organizer when uploading to TestFlight/AppStore

标签: ios xcode xcode8
1条回答
【Aperson】
2楼-- · 2019-09-08 12:52

The Xcode 8 release notes mention this issue:

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.

查看更多
登录 后发表回答