JPush1.8.5能够在ios10 推送么

registrationid
标签: #<Tag:0x00007fb83b4d0530>

(爱你所选^ ^Lf) #1

我使用的是JPush1.8.5但是获取registrationID为空白


#2

1、一般的推送功能支持
2、强烈建议升级SDK
3、请提供完整的客户端日志


(爱你所选^ ^Lf) #3

JPushLog:
---------------------Jpush(IOS8Version) log----------------------
--------------------Jpush SDK Version:1.8.5---------------------


这是什么意思


(爱你所选^ ^Lf) #4

我现在获取到的registrationID为空白。


#5

这只是刚刚开始初始化,麻烦获取更多的日志


(爱你所选^ ^Lf) #6

JPushLog WARN: appkey or uid missing


(爱你所选^ ^Lf) #7

但是我的apply是写在PushConfig.plist里面的。


(爱你所选^ ^Lf) #8

[APService setupWithOption:launchOptions];这样用 的,注册的。


#9

要不你还是下载最新的SDK ,然后根据文档集成


(爱你所选^ ^Lf) #10

我用cooped的pod update Push 更新报了很多错误啊,不能编译通过d
export IPHONEOS_DEPLOYMENT_TARGET=7.0


#11

1、执行 pod repo update master 这个命令来升级 本机更新pod 库,最新的SDK版本是3.0.5
2、麻烦将你集成新版本的报错完整的贴上来,截图、粘贴文本

3、请严格按照集成指南,检查框架是否加齐


(爱你所选^ ^Lf) #12
Ld /Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/ManTu.app/ManTu normal arm64
    cd /Users/zipingfang/Desktop/ManTu
    export IPHONEOS_DEPLOYMENT_TARGET=7.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos -LPods/UMengAnalytics-NO-IDFA -LPods/UMengAnalytics-NO-IDFA/umsdk_IOS_analytics_no-idfa_v3.6.5 -LPods/UMengAnalytics-NO-IDFA/umsdk_IOS_analytics_no-idfa_v3.6.5/UMAnalytics_Sdk_3.6.5 -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5 -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/Header -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/SocialSDKXib -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/UMSocialSDKResourcesNew.bundle -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/UMSocialSDKResourcesNew.bundle/Buttons -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/UMSocialSDKResourcesNew.bundle/EGO -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/UMSocialSDKResourcesNew.bundle/OtherTheme -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/UMSocialSDKResourcesNew.bundle/SnsPlatform -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/UMSocialSDKResourcesNew.bundle/SocialSDKBar -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_4.2.5/UMSocialSDKResourcesNew.bundle/Sound -L/Users/zipingfang/Desktop/ManTu/Pods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/Wechat -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/Sina -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/SinaSSO -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/SinaSSO/WeiboSDK.bundle -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/SinaSSO/WeiboSDK.bundle/images -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/SinaSSO/WeiboSDK.bundle/others -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/Line -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/Whatsapp -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/Instagram -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/Tumblr -LPods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/LaiWang -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/FMDB -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/JGProgressHUD -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/MBProgressHUD -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/MJRefresh -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/MMDrawerController -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/Masonry -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/QBImagePickerController -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/RHAddressBook -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/SDWebImage -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/SGJsonKit -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/TPKeyboardAvoiding -L/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/pop -L/Users/zipingfang/Desktop/ManTu/Pods/JCore -L/Users/zipingfang/Desktop/ManTu/Pods/JPush -L/Users/zipingfang/Desktop/ManTu/util/Umeng/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI -L/Users/zipingfang/Desktop/ManTu/util/Umeng/UMSocial_Sdk_Extra_Frameworks/Wechat -L/Users/zipingfang/Desktop/ManTu/util/alipay -L/Users/zipingfang/Desktop/ManTu/util/Umeng/UMAnalytics_Sdk_3.1.8 -L/Users/zipingfang/Desktop/ManTu/util/Umeng/UMSocial_Sdk_4.2.1 -L/Users/zipingfang/Desktop/ManTu/util/Umeng/UMSocial_Sdk_Extra_Frameworks/Sina -L/Users/zipingfang/Desktop/ManTu/util/YoukeSDK -L/Users/zipingfang/Desktop/ManTu/util/UMCheckUpdate -L/Users/zipingfang/Desktop/ManTu/util/weixinPay/SDKExport -L/Users/zipingfang/Desktop/ManTu/util/UPPaymentControl -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/YTX_iOS_IM_SDK/lib -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/Class/thirdparty/Redpacket/AliPay/AlipayLib -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/Class/thirdparty/Redpacket/RedpacketStaticLib/lib -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/Class/thirdparty/ShareSDK/Support/PlatformSDK/WeChatSDK -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/YTX_iOS_Full_SDK/lib -L/Users/zipingfang/Desktop/ManTu/util/BaiduNaviSDK -L/Users/zipingfang/Desktop/ManTu/util/BaiduNaviSDK/thirdlibs -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/Redpacket/AliPay/AlipayLib -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/Redpacket/RedpacketStaticLib/lib -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/ShareSDK/Support/PlatformSDK/WeChatSDK -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/AliPay/AlipayLib -L/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/RedpacketStaticLib/lib -F/Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos -F/Users/zipingfang/Desktop/ManTu/Pods/UmengSocial/Umeng_SDK_Social_iOS_ARM64_4.2.5/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI -F/Users/zipingfang/Desktop/ManTu/Pods/AlipaySDK-2.0 -F/Users/zipingfang/Desktop/ManTu/util/Umeng/UMSocial_Sdk_Extra_Frameworks/TencentOpenAPI -F/Users/zipingfang/Desktop/ManTu/util/alipay -F/Users/zipingfang/Desktop/ManTu/util/AliPayManager -F/Users/zipingfang/Desktop/ManTu/util/BaiduMapAPI -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/Class/thirdparty/BQMM_SDK/BQMM -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/Class/thirdparty -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/Class/thirdparty/ShareSDK -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/Class/thirdparty/ShareSDK/Support/Optional -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/Class/thirdparty/ShareSDK/Support/Required -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/BQMM_SDK/BQMM -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/ShareSDK -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/ShareSDK/Support/Optional -F/Users/zipingfang/Desktop/ManTu/view/四期/通讯/thirdparty/ShareSDK/Support/Required -filelist /Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Intermediates/ManTu.build/Debug-iphoneos/ManTu.build/Objects-normal/arm64/ManTu.LinkFileList -miphoneos-version-min=7.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Intermediates/ManTu.build/Debug-iphoneos/ManTu.build/Objects-normal/arm64/ManTu_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lFMDB -lJGProgressHUD -lMBProgressHUD -lMJRefresh -lMMDrawerController -lMasonry -lMobClickLibrary -lQBImagePickerController -lRHAddressBook -lSDWebImage -lSGJsonKit -lSocialInstagram -lSocialLaiWang -lSocialLine -lSocialQQ -lSocialSina -lSocialSinaSSO -lSocialTumblr -lSocialWechat -lSocialWhatsapp -lTPKeyboardAvoiding -lUMSocial_Sdk_4.2.5 -lUMSocial_Sdk_Comment_4.2.5 -lWeChatSDK -lWeiboSDK -lc++ -liconv -ljcore-ios-1.1.3 -ljpush-ios-3.0.5 -lpop -lresolv -lsqlite3 -lstdc++ -lz -framework AddressBook -framework AddressBookUI -framework AlipaySDK -framework AssetsLibrary -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework CoreTelephony -framework Foundation -framework ImageIO -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework TencentOpenAPI -framework UIKit -weak_framework UserNotifications -ObjC -weak_library /usr/lib/libz.dylib -lFMDB -lJGProgressHUD -lMBProgressHUD -lMJRefresh -lMMDrawerController -lMasonry -lMobClickLibrary -lPushSDK-1.8.5 -lQBImagePickerController -lRHAddressBook -lSDWebImage -lSGJsonKit -lSocialInstagram -lSocialLaiWang -lSocialLine -lSocialQQ -lSocialSina -lSocialSinaSSO -lSocialTumblr -lSocialWechat -lSocialWhatsapp -lTPKeyboardAvoiding -lUMSocial_Sdk_4.2.5 -lUMSocial_Sdk_Comment_4.2.5 -lWeChatSDK -lWeiboSDK -lc++ -liconv -lpop -lsqlite3 -lstdc++ -lz -framework AddressBook -framework AddressBookUI -framework AlipaySDK -framework AssetsLibrary -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework CoreTelephony -framework Foundation -framework ImageIO -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework TencentOpenAPI -framework UIKit -w -lxml2 -lz -liconv -lsqlite3 -lstdc++ -framework CoreText -lz.1.2.5 -lsqlite3.0 -lstdc++.6.0.9 -framework MOBFoundation -framework GLKit -framework OpenGLES -framework Security -framework JavaScriptCore -framework SystemConfiguration -framework AVFoundation -framework MediaPlayer -lRedpacketLib -framework BQMM -framework CoreTelephony -framework CoreLocation -framework CoreMotion -framework ImageIO -framework AudioToolbox -licucore -lresolv.9 -licucore.A -framework VideoToolbox -framework CoreGraphics -framework MobileCoreServices -framework CFNetwork -framework Accelerate -lstdc++.6 -framework BaiduMapAPI_Base -framework BaiduMapAPI_Cloud -framework Bugly -framework BaiduMapAPI_Location -framework ShareSDKConnector -framework BaiduMapAPI_Map -framework ShareSDKUI -framework BaiduMapAPI_Radar /Users/zipingfang/Desktop/ManTu/view/四期/通讯/YTX_iOS_Full_SDK/lib/YTX_iOS_Full_SDK_v5.3.1r1.a -lWeChatSDK -framework BaiduMapAPI_Search -framework BaiduMapAPI_Utils -lresolv -framework CoreFoundation -framework ShareSDKExtension -framework MessageUI -framework AddressBook -framework AddressBookUI -framework AssetsLibrary -framework MapKit -framework CoreMedia -framework ShareSDK -lPingSDK -lPaymentControl -framework QuartzCore -framework openssl -lidn -framework CoreVideo -lUMCheckUpdate -framework UIKit -framework Foundation -lPods-ManTu -Xlinker -dependency_info -Xlinker /Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Intermediates/ManTu.build/Debug-iphoneos/ManTu.build/Objects-normal/arm64/ManTu_dependency_info.dat -o /Users/zipingfang/Library/Developer/Xcode/DerivedData/ManTu-dcpdmahahjkrucdmrxcukydvtcva/Build/Products/Debug-iphoneos/ManTu.app/ManTu

ld: library not found for -lPushSDK-1.8.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)

#13

1、用最新的版本,你现在似乎还是用的1.8.5的?
2、我们在pod里面的名称是JPush


(爱你所选^ ^Lf) #14

JIGUANG | W - [JIGUANGMessageDispatchController] 缺少自定义消息必须字段message这什么意思呢


#15

请升级后台SDK,如果没有用SDK,那么请升级接口到V3,V2 不支持iOS的自定义消息


(爱你所选^ ^Lf) #16

但是V3是基于https的啊,我们现在是http.怎么解决呢?


#17

那iOS就不要用自定义消息吧


(爱你所选^ ^Lf) #18

你说的ios不用自定义消息是指后台么?我们APP需要改什么呢?


#19

1、个人建议你们尽量升级吧,V2 不维护了,有问题的话不再支持解决

2、客户端就是不用去获取 自定义消息内容,不获取应就没有报错,这个也不影响你的通知的使用


(爱你所选^ ^Lf) #20

我怎么获取点击状态栏的通知的内容呢?