How to do it...

  1. Run the previous app on a device and keep a record of the device token, as we will use it to send notifications.
  2. Open the Houston project in GitHub and follow the instructions there to install Houston.
  3. The Push Notification certificate that you have downloaded should be with the .cer extension. Double-click on certificate, and it will open Keychain Access:
  1. Right-click on the certificate and click on Export " ":
  1. Ensure that the .p12 extension is selected:
  1. Click on the Save button to save the file in your disk. After saving ...

Get iOS Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.