O'Reilly logo

Continuous Delivery for Mobile with fastlane by Doron Katz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling push notifications the traditional way via Xcode

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:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required