---
title: APS Environment Entitlement
framework: bundleresources
role: symbol
role_heading: Property List Key
path: bundleresources/entitlements/aps-environment
---

# APS Environment Entitlement

The environment for push notifications.

## Possible Values

development: The APNs development environment. production: The APNs production environment.

## Discussion

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. Production provisioning profile and Prerelease Versions and Beta Testers use production. These default settings can be modified. The development environment is also referred to as the sandbox environment. 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

### Related Documentation

- [Registering your app with APNs](usernotifications/registering-your-app-with-apns.md)
- [PushKit](pushkit.md)

### Notifications

- [APS Environment (macOS) Entitlement](bundleresources/entitlements/com.apple.developer.aps-environment.md)
- [Critical Alerts](bundleresources/entitlements/com.apple.developer.usernotifications.critical-alerts.md)
- [com.apple.developer.usernotifications.filtering](bundleresources/entitlements/com.apple.developer.usernotifications.filtering.md)
