Property List Key

APS Environment Entitlement

The environment for push notifications.

Details

Key
aps-environment
Type
string

Possible Values

development

The APNs development environment.

production

The APNs production environment.

Discussion

This key specifies whether to use the development or production Apple Push Notification service (APNs) environment when registering for push notifications.

Xcode sets the value of the entitlement based on your app's current provisioning profile. For example, if you're using a development provisioning profile, Xcode sets the value to development.

Use this entitlement for both the UserNotifications and PushKit frameworks.

To add this entitlement to your app, enable the Push Notifications capability in Xcode.

See Also

Push Notifications

APS Environment (macOS) Entitlement

The environment for push notifications in macOS apps.

Key: com.apple.developer.aps-environment