I had the same problem in a project that i used push notifications what i did to fix it is : Target-> Capabillities and turned on push notifications .fix
Note: the answer from @codebrew explains this clever fix further.
I had the same problem in a project that i used push notifications what i did to fix it is : Target-> Capabillities and turned on push notifications .fix
Note: the answer from @codebrew explains this clever fix further.