So when I go to "Create a New Certificate",
Certificates, Identifiers & Profiles > Create a New Certificate
I tick this checkbox under "Software":
iOS App Development
Sign development versions of your iOS app.
However, when I scroll down to "Services" and check this checkbox:
Apple Push Notification service SSL (Sandbox & Production)
Establish connectivity between your notification server, the Apple Push Notification service sandbox, and production environments to deliver remote notifications to your app. When utilizing HTTP/2, the same certificate can be used to deliver app notifications, update ClockKit complication data, and alert background VoIP apps of incoming activity. A separate certificate is required for each app you distribute.
It then removes the other checkbox! Indicating that I'm unable to check both at the same time.
Why is this and how can I fix it? I need both ticked as my certificate is for a production app with push notifications.
PS: I only have one development Certificate in my account at the moment.
You are mixing up two separate digital identities:I need both ticked as my certificate is for a production app with push
notifications.
When you sign the code in your app, you need a code signing digital identity. For example, if you’re creating a signing identity for development, you’d choose Apple Development and if you’re creating a singing identity, you’d choose Apple Distribution.
If you want to set up a push provider that connects to APNS, you need a completely different digital identity, a TLS client identity. To create this you’d choose Apple Push Notification service SSL (…).
Right, because provisioning profiles only make sense in the context of code signing.Also, if i create the certificates separately, the APN certificate
doesn't come up when creating a Provisioning Profile
To create a profile for an app that uses push notifications, first set the Push Notifications capability on your the App ID and then create a profile from that App ID.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"