Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode 8 beta ios 10 push notifications stopped working

After switching to xcode 8 beta my push notifications have stopped working.

My code signing identity for release is set to distribution. I am registering the device, receiving the token and successfully uploading it to my server without any problem. But the status of the push messages is failed.

Just wondering if i need to make any changes or if it will not work with a beta version of xcode.

like image 201
alionthego Avatar asked Dec 01 '22 13:12

alionthego


1 Answers

In the targets, under Capabilities and Push Notifications I needed to add the push notification entitlement to my entitlements file. This was done just by clicking the button that appeared here with the error message.

like image 158
alionthego Avatar answered Dec 05 '22 13:12

alionthego