The first thing we are going to do is enable push notifications in our Xcode project, which will add APNs entitlements to our project. This can be accomplished by simply going to the project's target, then selecting Capabilities:

Behind the scenes, what this does is associate push notifications entitlements in https://developer.apple.com. For the purpose of our project's example, as it was already associated with another project bundle previously, it wasn't able to add the entitlements successfully. First, let's remove the previous entitlements the project had associated with it: