Enable Capability

Enable the Push Notifications capability for your app to register for and receive push notifications.

Before proceeding with this step, make sure you have configured a Bundle ID for your app target in the project editor, and have configured Xcode to use an iCloud account with an active Apple Developer Program Membership.

Simply go to the project editor for your target, select the Capabilities tab, and turn on the Push Notifications capability.

Note: Xcode should display two checkmarks indicating that the capability was successfully enabled.