質問

I made a small app to test push notifications. Followed the tutorial on how to generate the necessary files for sending the notification server-side.

It worked fine, but then I needed to change the provisioning profile to add a few more devices, and and didn't receive the push notifications anymore.

Do I need to change the .pem certificate in this case?

役に立ちましたか?

解決

I'm going to disagree with Jaeger... it's not possible to add a device to a profile without regenerating a new provisioning profile. So, if you add a device, you must re-download the new provisioning profile and re-create the .pem file like you did before.

他のヒント

No, You will need not to generate .PEM file, if you just add new devices to the provisioning profiles. Yes, That will require to regenerate if development certificate(.P12) or AppId is changed.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top