"_JPUSHGetCurrentTimestamp", referenced from
我在delphi Berlin下接入极光推送IOS-SDK-3.0.7, 但报一下错误。搜了许多办法,尝试无果,该引用的库也都也引用了。
CFNetwork.framework
CoreFoundation.framework
CoreTelephony.framework
SystemConfiguration.framework
CoreGraphics.framework
Foundation.framework
UIKit.framework
Security.framework
Xcode7及以上需要的是libz.tbd;Xcode7以下版本是libz.dylib
Adsupport.framework (获取IDFA需要;如果不使用IDFA,请不要添加)
UserNotifications.framework(Xcode8及以上)
libresolv.tbd (JPush 2.2.0及以上版本需要)
这些都做了,依然也没解决以下问题,肿么办呢?
Error: "_JPUSHGetCurrentTimestamp", referenced from:
-[JPUSHTagAlias setTagAliasUsingCallback:] in jpush-ios-3.0.7.a(JPUSHTagAlias.o);
-[JPUSHTagAliasManagerController tagOperate:type:andCompletion:andSeq:] in jpush-ios-3.0.7.a(JPUSHTagAliasManagerController.o);
-[JPUSHTagAliasManagerController aliasOperate:type:andCompletion:andSeq:] in jpush-ios-3.0.7.a(JPUSHTagAliasManagerController.o);
-[JPUSHTagAliasManagerController handleServerUnavaiableResponseWith:andContent:] in jpush-ios-3.0.7.a(JPUSHTagAliasManagerController.o);
-[JPUSHTagAliasManagerController isFreezeReport] in jpush-ios-3.0.7.a(JPUSHTagAliasManagerController.o);
Error: "_JCOREGetBuildVersion", referenced from:
___92+[JPUSHService commonSetupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]
_block_invoke in jpush-ios-3.0.7.a(JPUSHService.o);
Error: "_OBJC_CLASS_$_JPUSHLog", referenced from:
objc-class-ref in jpush-ios-3.0.7.a(JPUSHService.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHClientController.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHLocalNotificationController.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHBadgeNumberController.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHTagAlias.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o);
Error: "_OBJC_CLASS_$_JCOREInterface", referenced from:
objc-class-ref in jpush-ios-3.0.7.a(JPUSHService.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHClientController.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHSetTagAliasArg.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHBadgeNumberController.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHTagAlias.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHTagAliasManagerController.o);
objc-class-ref in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o); ...
Error: "_OBJC_CLASS_$_JPUSHFileHelper", referenced from:
objc-class-ref in jpush-ios-3.0.7.a(JPUSHTagAlias.o);
Error: "_OBJC_IVAR_$_JPUSHRequest._packetData", referenced from:
-[JPUSHAliasRequest packData] in jpush-ios-3.0.7.a(JPUSHAliasOperation.o);
-[JPUSHTagsRequest packData] in jpush-ios-3.0.7.a(JPUSHTagsOperation.o);
-[JPUSHSetTagAlias packData] in jpush-ios-3.0.7.a(JPUSHSetTagAlias.o);
Error: "_JCOREDisplayVersion", referenced from:
___92+[JPUSHService commonSetupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]
_block_invoke in jpush-ios-3.0.7.a(JPUSHService.o);
Error: "_JPUSHConvertTokenDataToString", referenced from:
-[JPUSHClientController updateDeviceToken:] in jpush-ios-3.0.7.a(JPUSHClientController.o);
Error: "_JPUSHJSONData", referenced from:
-[JPUSHAliasRequest packData] in jpush-ios-3.0.7.a(JPUSHAliasOperation.o);
-[JPUSHTagsRequest packData] in jpush-ios-3.0.7.a(JPUSHTagsOperation.o);
-[JPUSHBadgeNumberReportRequest packetData] in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o);
-[JPUSHSetTagAlias requestJsonData] in jpush-ios-3.0.7.a(JPUSHSetTagAlias.o);
Error: "_JPUSHDecodeDataFromBuffer", referenced from:
-[JPUSHAliasResponse initWithBuffer:length:] in jpush-ios-3.0.7.a(JPUSHAliasOperation.o);
-[JPUSHTagsResponse initWithBuffer:length:] in jpush-ios-3.0.7.a(JPUSHTagsOperation.o);
Error: "_kJPFNetworkDidLoginNotification", referenced from:
-[JPUSHClientController observeNotifications] in jpush-ios-3.0.7.a(JPUSHClientController.o);
-[JPUSHClientController unobserveNotifications] in jpush-ios-3.0.7.a(JPUSHClientController.o);
Error: "_JPUSHJSONObject", referenced from:
-[JPUSHAliasResponse initWithBuffer:length:] in jpush-ios-3.0.7.a(JPUSHAliasOperation.o);
-[JPUSHTagAlias doSetTagsAliasCallbackWithRetJson:] in jpush-ios-3.0.7.a(JPUSHTagAlias.o);
-[JPUSHTagsResponse initWithBuffer:length:] in jpush-ios-3.0.7.a(JPUSHTagsOperation.o);
Error: "_OBJC_CLASS_$_JPUSHRequest", referenced from:
_OBJC_CLASS_$_JPUSHAliasRequest in jpush-ios-3.0.7.a(JPUSHAliasOperation.o); _OBJC_CLASS_$_JPUSHTagsRequest in jpush-ios-3.0.7.a(JPUSHTagsOperation.o); _OBJC_CLASS_$_JPUSHSetTagAlias in jpush-ios-3.0.7.a(JPUSHSetTagAlias.o);
Error: "_OBJC_METACLASS_$_JPUSHRequest", referenced from:
_OBJC_METACLASS_$_JPUSHAliasRequest in jpush-ios-3.0.7.a(JPUSHAliasOperation.o); _OBJC_METACLASS_$_JPUSHTagsRequest in jpush-ios-3.0.7.a(JPUSHTagsOperation.o); _OBJC_METACLASS_$_JPUSHSetTagAlias in jpush-ios-3.0.7.a(JPUSHSetTagAlias.o);
Error: "_OBJC_CLASS_$_JPUSHReportResponse", referenced from:
_OBJC_CLASS_$_JPUSHMessageReportResponse in jpush-ios-3.0.7.a(JPUSHMessageReport.o);
_OBJC_CLASS_$_JPUSHBadgeNumberReportResponse in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o);
Error: "_OBJC_CLASS_$_JPUSHReceivedPacketController", referenced from:
_OBJC_CLASS_$_JPUSHAliasResponse in jpush-ios-3.0.7.a(JPUSHAliasOperation.o);
_OBJC_CLASS_$_JPUSHTagsResponse in jpush-ios-3.0.7.a(JPUSHTagsOperation.o);
Error: "_OBJC_METACLASS_$_JPUSHReceivedPacketController", referenced from:
_OBJC_METACLASS_$_JPUSHAliasResponse in jpush-ios-3.0.7.a(JPUSHAliasOperation.o);
_OBJC_METACLASS_$_JPUSHTagsResponse in jpush-ios-3.0.7.a(JPUSHTagsOperation.o);
Error: "_JPUSHStringHashingByMD5", referenced from:
-[JPUSHBadgeNumberReportRequest p_generateRequestHead] in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o);
Error: "_OBJC_CLASS_$_JPUSHReportRequest", referenced from:
_OBJC_CLASS_$_JPUSHMessageReportRequest in jpush-ios-3.0.7.a(JPUSHMessageReport.o);
_OBJC_CLASS_$_JPUSHBadgeNumberReportRequest in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o);
Error: "_OBJC_METACLASS_$_JPUSHReportRequest", referenced from:
_OBJC_METACLASS_$_JPUSHMessageReportRequest in jpush-ios-3.0.7.a(JPUSHMessageReport.o);
_OBJC_METACLASS_$_JPUSHBadgeNumberReportRequest in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o);
Error: "_OBJC_METACLASS_$_JPUSHReportResponse", referenced from:
_OBJC_METACLASS_$_JPUSHMessageReportResponse in jpush-ios-3.0.7.a(JPUSHMessageReport.o);
_OBJC_METACLASS_$_JPUSHBadgeNumberReportResponse in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o);
Error: "_JPUSHBase64", referenced from:
-[JPUSHBadgeNumberReportRequest p_generateRequestHead] in jpush-ios-3.0.7.a(JPUSHBadgeNumberReport.o);