I installed Xcode 8. Since then I am getting
application:didFailToRegisterForRemoteNotificationsWithError:, Thread [{number = 1, name = main}] error [Er
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.