iphone: Confusion with Push Notification provision

2019-08-06 14:13发布

问题:

I have implemented UrbanAirship Push notification in my app.

But I am little bit confuse while creating AdHoc.

I have made provisioning profile for Debug in which I am selecting Device IDs.

So while creating AdHoc, Do I need to create new AdHoc profile or Its not needed ?

回答1:

Here the provisional profile is not the thing related to push notification settings. But you need to configure your appID under the apple developers account section and select it for push notification enabled. Under that appID you can use developers provisional profile or distribution provisional profile easily. No confusion any more.

Try this. And let me know.



回答2:

First you need to create a distribution certificate. Then in the provisioning section select distribution and then create a new provisioning profile select ad-hoc there.