I downloaded the PushyMac sample application from Apple website but cannot figure out why I couldn't register for push notification upon application startup. Here's the error I get
2013-02-27 19:53:49.737 PushyMac[61525:303] applicationDidFinishLaunching:
2013-02-27 19:53:49.738 PushyMac[61525:303] didFinishLaunchingWithOptions:
notification name NSApplicationDidFinishLaunchingNotification
2013-02-27 19:53:49.753 PushyMac[61525:303] application:didFailToRegisterForRemoteNotificationsWithError: with
error = Error Domain=NSOSStatusErrorDomain Code=1 "The operation
couldn’t be completed. (OSStatus error 1.)" (kCFHostErrorHostNotFound /
kCFStreamErrorSOCKSSubDomainVersionCode / kCFStreamErrorSOCKS5BadResponseAddr /
kCFStreamErrorDomainPOSIX / evtNotEnb / siInitSDTblErr / kUSBPending / dsBusError /
kStatusIsError / kOTSerialSwOverRunErr / cdevResErr / EPERM: / Error code is the version
of SOCKS which the server wishes to use / / POSIX errno; interpret using <sys/errno.h> /
event not enabled at PostEvent / slot int dispatch table could not be initialized. / /
bus error / / / Couldn't get a needed resource; alert / Operation not permitted)
Any idea why this might happen?
Apple Push Notification service (commonly referred to as Apple Notification Service or APNs) is a platform notification service created by Apple Inc. that enables third party application developers to send notification data to applications installed on Apple devices.
This happens when your app is not code signed properly
I just received the same error message after signing out and signing back in to iCloud on my Mac. I resolved it by going to the Capabilities tab of my target in Xcode. Under iCloud, a problem was shown, which was automatically fixed by pressing the fix button.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With