I installed Xcode 8. Since then I am getting
application:didFailToRegisterForRemoteNotificationsWithError:, Thread [{number = 1, name = main}] error [Er
Please enable the push notification toggle , make it ON, in the capabilities section (Next to project section)
One more thing... Check that you enable Push notifications for PROPER configuration. I've wasted around an hour trying to figure out what's going on with pushes on DEBUG with permanent NO APS entitlement. But pushes was enabled ONLY in RELEASE.