<!--
{
  "availability" : [
    "macOS: 10.14.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Entitlements/com.apple.developer.aps-environment",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "entitlements:Entitlements.com.apple.developer.aps-environment"
  },
  "title" : "APS Environment (macOS) Entitlement"
}
-->

# APS Environment (macOS) Entitlement

The environment for push notifications in macOS apps.

## Discussion

This key specifies whether to use the development or production Apple Push Notification service (APNs) environment when registering for push notifications with <doc://com.apple.documentation/documentation/AppKit/NSApplication/registerForRemoteNotifications()>.

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`.

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

## See Also

  <doc://com.apple.documentation/documentation/UserNotifications/registering-your-app-with-apns>



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)