是否可以使用解析OS X SDK來結束推送通知?從OS X/Mac發送推送通知
只要我說:
#import <ParseOSX/PFInstallation.h>
#import <ParseOSX/PFPush.h>
我開始構建錯誤:
用於建築x86_64的未定義符號: 「_OBJC_CLASS _ $ _ PFInstallation」,從引用: objc級-REF中SendMessageController.o 「_OBJC_CLASS _ $ _ PFPush」,引用自: SendMessageController.o中的objc-class-ref ld:找不到架構x86_64的符號 clang:error:linker co
This class is currently for iOS only. There is no PFInstallation for Parse applications running on OS X, because they cannot receive push notifications.
如果你想:mmand,退出代碼爲1(使用-v看看調用)
好的。疑難雜症。我並沒有嘗試向OS X發送PUSH消息,而是從IOS應用程序發送一個推送給IOS的消息。 – 2014-11-23 03:59:00