2***@qq.com
2***@qq.com
  • 发布:2019-07-30 16:35
  • 更新:2019-11-05 16:30
  • 阅读:3166

IOS 离线打包,个推推送消息,app离线的时候推送不到,获取到的token为空

分类:HBuilder

尊敬的作者:
我调试了几天实在没办法了,请赐教!

在线打包的时候是可以获取到的token的,而且离线推送消息也能推送到

objc[8950]: Class MPRequest is implemented in both /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer (0x270723690) and /var/containers/Bundle/Application/C56343B8-06E8-45D5-B770-2B2865B5A945/HBuilder.app/HBuilder (0x1049c7ae8). One of the two will be used. Which one is undefined.
2019-07-30 16:29:46.861212+0800 HBuilder[8950:1743544] [DYMTLInitPlatform] platform initialization successful
2019-07-30 16:29:47.220853+0800 HBuilder[8950:1743398] ######===>>>>New Device Model:[iPhone8,2]
2019-07-30 16:29:47.236034+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832c9980, domain=1, instance=1>
2019-07-30 16:29:47.245544+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832d0720, domain=1, instance=1>
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarFrame]
PID: 8950, TID: 1743564, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 HBuilder 0x0000000102adf980 23+[WXCoreBridge install]_block_invoke + 560
5 libdispatch.dylib 0x0000000107188dc8 _dispatch_client_callout + 16
6 libdispatch.dylib 0x000000010718ae28 _dispatch_once_callout + 84
7 HBuilder 0x0000000102adf748 +[WXCoreBridge install] + 64
8 HBuilder 0x0000000102bbb1b0 -[WXBridgeContext registerGlobalFunctions] + 156
9 HBuilder 0x0000000102bbb0ac -[WXBridgeContext jsBridge] + 328
10 HBuilder 0x0000000102bc0bcc -[WXBridgeContext executeJsFramework:] + 112
11 HBuilder 0x0000000102ca8e9c
38-[WXBridgeManager executeJsFramework:]_block_invoke + 72
12 HBuilder 0x0000000102ca7ca0 +[WXBridgeManager _performBlockOnBridgeThread:] + 236
13 Foundation 0x0000000237d4442c <redacted> + 336
14 CoreFoundation 0x00000002372211f0 <redacted> + 24
15 CoreFoundation 0x0000000237221170 <redacted> + 88
16 CoreFoundation 0x0000000237220a54 <redacted> + 176
17 CoreFoundation 0x000000023721b920 <redacted> + 1040
18 CoreFoundation 0x000000023721b1f0 CFRunLoopRunSpecific + 436
19 Foundation 0x0000000237c11494 <redacted> + 300
20 HBuilder 0x0000000102ca7944 -[WXBridgeManager _runLoopThread] + 264
21 Foundation 0x0000000237d4423c <redacted> + 1040
22 libsystem_pthread.dylib 0x0000000236eac25c <redacted> + 128
23 libsystem_pthread.dylib 0x0000000236eac1bc _pthread_start + 48
24 libsystem_pthread.dylib 0x0000000236eafcf4 thread_start + 4
2019-07-30 16:29:47.259494+0800 HBuilder[8950:1743564] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarFrame]
PID: 8950, TID: 1743564, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 HBuilder 0x0000000102adf980 23+[WXCoreBridge install]_block_invoke + 560
5 libdispatch.dylib 0x0000000107188dc8 _dispatch_client_callout + 16
6 libdispatch.dylib 0x000000010718ae28 _dispatch_once_callout + 84
7 HBuilder 0x0000000102adf748 +[WXCoreBridge install] + 64
8 HBuilder 0x0000000102bbb1b0 -[WXBridgeContext registerGlobalFunctions] + 156
9 HBuilder 0x0000000102bbb0ac -[WXBridgeContext jsBridge] + 328
10 HBuilder 0x0000000102bc0bcc -[WXBridgeContext executeJsFramework:] + 112
11 HBuilder 0x0000000102ca8e9c
38-[WXBridgeManager executeJsFramework:]_block_invoke + 72
12 HBuilder 0x0000000102ca7ca0 +[WXBridgeManager _performBlockOnBridgeThread:] + 236
13 Foundation 0x0000000237d4442c <redacted> + 336
14 CoreFoundation 0x00000002372211f0 <redacted> + 24
15 CoreFoundation 0x0000000237221170 <redacted> + 88
16 CoreFoundation 0x0000000237220a54 <redacted> + 176
17 CoreFoundation 0x000000023721b920 <redacted> + 1040
18 CoreFoundation 0x000000023721b1f0 CFRunLoopRunSpecific + 436
19 Foundation 0x0000000237c11494 <redacted> + 300
20 HBuilder 0x0000000102ca7944 -[WXBridgeManager _runLoopThread] + 264
21 Foundation 0x0000000237d4423c <redacted> + 1040
22 libsystem_pthread.dylib 0x0000000236eac25c <redacted> + 128
23 libsystem_pthread.dylib 0x0000000236eac1bc _pthread_start + 48
24 libsystem_pthread.dylib 0x0000000236eafcf4 thread_start + 4
2019-07-30 16:29:47.260485+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832ca980, domain=1, instance=1>
xxx set_core_side is runing and 0x2830e25d02019-07-30 16:30:02.573942+0800 HBuilder[8950:1743564] <Weex>[info]WXBridgeContext.m:1167, jsLog: Start JS Framework 0.29.0, Build at 2018-10-02 14:30. (Vue: 2.5.16-weex.5, Rax: 0.4.20) Start JS Framework 0.29.0, Build at 2018-10-02 14:30. (Vue: 2.5.16-weex.5, Rax: 0.4.20)
2019-07-30 16:30:02.586376+0800 HBuilder[8950:1743564] <Weex>[log]WXBridgeContext.m:1164, jsLog: Start windmill weex-vue-plugin (0.3.2) framework. Build at 2018-09-18 13:06 LOG
2019-07-30 16:30:03.092341+0800 HBuilder[8950:1743398] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/E88A3A34-F675-4FF1-8891-F04D9A3F3166/Library/Cookies/Cookies.binarycookies
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarOrientation]
PID: 8950, TID: 1743560, Thread name: (none), Queue name: io.dcloud.background (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4 HBuilder 0x0000000103e1e010 +[PTDeviceDisplayInfo displayInfo] + 92
5 HBuilder 0x0000000103e1e93c -[PTDevice update] + 76
6 HBuilder 0x0000000103e2f364 +[PTDevice(JSBuilder) bulitDeviceJsParams] + 84
7 HBuilder 0x0000000103e38844
59-[PDRCoreAppResource load5PlusApiJsForLoader:withDelegate:]_block_invoke + 164
8 HBuilder 0x0000000103e3919c 64-[PDRCoreAppResourceLoader loadResourceWithHandle:withDelegate:]_block_invoke + 80
9 HBuilder 0x0000000103dd7d38
27+[PDRCore runTask:inQueue:]_block_invoke + 36
10 Foundation 0x0000000237d208bc <redacted> + 16
11 Foundation 0x0000000237c28ab8 <redacted> + 72
12 Foundation 0x0000000237c27f8c <redacted> + 740
13 Foundation 0x0000000237d22790 <redacted> + 272
14 libdispatch.dylib 0x0000000107187824 _dispatch_call_block_and_release + 24
15 libdispatch.dylib 0x0000000107188dc8 _dispatch_client_callout + 16
16 libdispatch.dylib 0x000000010718c1c4 _dispatch_continuation_pop + 528
17 libdispatch.dylib 0x000000010718b604 _dispatch_async_redirect_invoke + 632
18 libdispatch.dylib 0x000000010719a1dc _dispatch_root_queue_drain + 376
19 libdispatch.dylib 0x000000010719abc8 _dispatch_worker_thread2 + 156
20 libsystem_pthread.dylib 0x0000000236ead17c _pthread_wqthread + 472
21 libsystem_pthread.dylib 0x0000000236eafcec start_wqthread + 4
2019-07-30 16:30:03.108041+0800 HBuilder[8950:1743560] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarOrientation]
PID: 8950, TID: 1743560, Thread name: (none), Queue name: io.dcloud.background (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4 HBuilder 0x0000000103e1e010 +[PTDeviceDisplayInfo displayInfo] + 92
5 HBuilder 0x0000000103e1e93c -[PTDevice update] + 76
6 HBuilder 0x0000000103e2f364 +[PTDevice(JSBuilder) bulitDeviceJsParams] + 84
7 HBuilder 0x0000000103e38844 59-[PDRCoreAppResource load5PlusApiJsForLoader:withDelegate:]_block_invoke + 164
8 HBuilder 0x0000000103e3919c
64-[PDRCoreAppResourceLoader loadResourceWithHandle:withDelegate:]_block_invoke + 80
9 HBuilder 0x0000000103dd7d38 __27+[PDRCore runTask:inQueue:]_block_invoke + 36
10 Foundation 0x0000000237d208bc <redacted> + 16
11 Foundation 0x0000000237c28ab8 <redacted> + 72
12 Foundation 0x0000000237c27f8c <redacted> + 740
13 Foundation 0x0000000237d22790 <redacted> + 272
14 libdispatch.dylib 0x0000000107187824 _dispatch_call_block_and_release + 24
15 libdispatch.dylib 0x0000000107188dc8 _dispatch_client_callout + 16
16 libdispatch.dylib 0x000000010718c1c4 _dispatch_continuation_pop + 528
17 libdispatch.dylib 0x000000010718b604 _dispatch_async_redirect_invoke + 632
18 libdispatch.dylib 0x000000010719a1dc _dispatch_root_queue_drain + 376
19 libdispatch.dylib 0x000000010719abc8 _dispatch_worker_thread2 + 156
20 libsystem_pthread.dylib 0x0000000236ead17c _pthread_wqthread + 472
21 libsystem_pthread.dylib 0x0000000236eafcec start_wqthread + 4
2019-07-30 16:30:03.320123+0800 HBuilder[8950:1743560] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832a46c0, domain=1, instance=1>
2019-07-30 16:30:03.354016+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] ##CoreApp##...app start load..
2019-07-30 16:30:03.358944+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] ##CoreApp##...createAppRuntime..
2019-07-30 16:30:03.420645+0800 HBuilder[8950:1743540] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832ad2c0, domain=1, instance=1>
2019-07-30 16:30:03.644109+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] core started
2019-07-30 16:30:03.649747+0800 HBuilder[8950:1743635] [Runtime][INFO:] Started HTTP server on ip local. port 13131
2019-07-30 16:30:04.341019+0800 HBuilder[8950:1743635] [Runtime][INFO:] Bonjour Service Published: domain(local.) type(_http._tcp.) name(Next)
2019-07-30 16:30:04.407888+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832deb80, domain=1, instance=1>
2019-07-30 16:30:04.411821+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832de1c0, domain=1, instance=1>
2019-07-30 16:30:04.416468+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832c2800, domain=1, instance=1>
2019-07-30 16:30:04.420724+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832c1d00, domain=1, instance=1>
2019-07-30 16:30:04.448847+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] ##CoreApp##...createAppWindow..
2019-07-30 16:30:04.454629+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] ##CoreApp##...创建首页..
2019-07-30 16:30:04.456542+0800 HBuilder[8950:1743534] <Weex>[log]WXSDKInstance.m:376, Start rendering page:dcloud3.dat
2019-07-30 16:30:04.461721+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] show NWindow--[H5382E0AA]
2019-07-30 16:30:04.470775+0800 HBuilder[8950:1743398] [Runtime][INFO:] refreshWhitePageCheckWebview---evt[3]---[<PDRCoreAppFrame: 0x10788ec00; frame = (0 0; 414 736); clipsToBounds = YES; layer = <CALayer: 0x2832df480>>]
2019-07-30 16:30:04.470961+0800 HBuilder[8950:1743398] [Runtime][INFO:] Archiver file fullPath /var/mobile/Containers/Data/Application/E88A3A34-F675-4FF1-8891-F04D9A3F3166/Library/Pandora/apps/H5382E0AA/data/download.plist
2019-07-30 16:30:04.471087+0800 HBuilder[8950:1743398] [Runtime][INFO:] Archiver file fullPath /var/mobile/Containers/Data/Application/E88A3A34-F675-4FF1-8891-F04D9A3F3166/Library/Pandora/apps/H5382E0AA/data/upload.plist
2019-07-30 16:30:04.490128+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832c1a80, domain=1, instance=1>
2019-07-30 16:30:04.493166+0800 HBuilder[8950:1743398] [Runtime][INFO:] checkCurwebviewWhiteCheck---[uniappnvue]
2019-07-30 16:30:04.493283+0800 HBuilder[8950:1743398] [Runtime][INFO:] ##destoryWhitePageCheckTimer--[<PDRCoreAppFrame: 0x108096200; frame = (0 0; 414 736); clipsToBounds = YES; layer = <CALayer: 0x2832c3380>>]---[(null)]
2019-07-30 16:30:04.493527+0800 HBuilder[8950:1743398] [Common] _BSMachError: port 13d03; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2019-07-30 16:30:04.494161+0800 HBuilder[8950:1743398] [Common] _BSMachError: port 13d03; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2019-07-30 16:30:04.500433+0800 HBuilder[8950:1743534] Metal GPU Frame Capture Enabled
2019-07-30 16:30:04.507058+0800 HBuilder[8950:1743534] Metal API Validation Enabled
2019-07-30 16:30:04.549640+0800 HBuilder[8950:1743564] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2832c8980, domain=1, instance=1>
2019-07-30 16:30:04.894298+0800 HBuilder[8950:1743398] [Runtime][INFO:] checkCurwebviewWhiteCheck---[H5382E0AA]
2019-07-30 16:30:04.894452+0800 HBuilder[8950:1743398] [Runtime][INFO:] ##destoryWhitePageCheckTimer--[<PDRCoreAppFrame: 0x10788ec00; frame = (0 0; 414 736); clipsToBounds = YES; layer = <CALayer: 0x2832df480>>]---[(null)]
2019-07-30 16:30:04.958599+0800 HBuilder[8950:1743650] [] nw_connection_copy_connected_path [C6] Client called nw_connection_copy_connected_path on unconnected nw_connection
2019-07-30 16:30:04.959575+0800 HBuilder[8950:1743650] [] tcp_connection_is_cellular No connected path
2019-07-30 16:30:05.148004+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] main page loader end
2019-07-30 16:30:05.148129+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] core handle startparam end
2019-07-30 16:30:05.225268+0800 HBuilder[8950:1743398] Getui Sdk client has been registered as: da17ed38c72f1db520a7ffed2c2078a4
2019-07-30 16:30:10.144885+0800 HBuilder[8950:1743688] Task <555E2065-F883-460F-A3C7-1F7C6C35B864>.<0> HTTP load failed (error code: -999 [1:89])
2019-07-30 16:30:10.155279+0800 HBuilder[8950:1743398] [LOG] :
2019-07-30 16:30:10.471973+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] doSplashTimeout
2019-07-30 16:30:10.473499+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] closeSplashscreen
2019-07-30 16:30:10.488883+0800 HBuilder[8950:1743398] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x283234220, domain=1, instance=1>
2019-07-30 16:30:15.139620+0800 HBuilder[8950:1743688] Task <E9FFBC57-9B03-489B-B563-FE4A38AEF430>.<0> HTTP load failed (error code: -999 [1:89])
2019-07-30 16:30:15.162519+0800 HBuilder[8950:1743398] [Runtime][DEBUG:] JSWindow_closeSplashscreen

2019-07-30 16:35 负责人:无 分享
已邀请:
2***@qq.com

2***@qq.com

解决了吗兄弟 我也遇到这个问题了

3***@qq.com

3***@qq.com

该问题目前已经被锁定, 无法添加新回复