hunangjinsheng
hunangjinsheng
  • 发布:2019-02-28 18:12
  • 更新:2019-03-04 12:47
  • 阅读:3576

iOS Xcode10 集成H5+SDK编译报错(SDK版本为iOSSDK@1.9.9.58828_20190221)

分类:5+ SDK

objc[14181]: Class MPRequest is implemented in both /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer (0x1eb89f690) and /var/containers/Bundle/Application/F4CAE5BB-2191-49C9-B707-BAC5BCFA1DDC/HBuilder.app/HBuilder (0x10255e058). One of the two will be used. Which one is undefined.
2019-02-28 17:50:50.358879+0800 HBuilder[14181:3729493] [DYMTLInitPlatform] platform initialization successful
EMCoreLog::EMCoreLog()

2019/2/28 17:50:50:601: No config file, do nothing

2019/2/28 17:50:50:603: onNetworkChanged(): 2
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication registerForRemoteNotifications]
PID: 14181, TID: 3729499, Thread name: (none), Queue name: com.apple.usernotifications.UNUserNotificationServiceConnection.call-out, QoS: 0
Backtrace:
4 HBuilder 0x000000010054b68c __44-[EaseSDKHelper _registerRemoteNotification]_block_invoke + 92
5 UserNotifications 0x00000001bbf4de54 <redacted> + 44
6 libdispatch.dylib 0x0000000103e9f8a0 _dispatch_call_block_and_release + 32
7 libdispatch.dylib 0x0000000103ea0e38 _dispatch_client_callout + 20
8 libdispatch.dylib 0x0000000103ea9128 _dispatch_lane_serial_drain + 724
9 libdispatch.dylib 0x0000000103ea9e78 _dispatch_lane_invoke + 480
10 libdispatch.dylib 0x0000000103eb3b30 _dispatch_workloop_worker_thread + 1168
11 libsystem_pthread.dylib 0x00000001b13e6b20 _pthread_wqthread + 316
12 libsystem_pthread.dylib 0x00000001b13ecdd4 start_wqthread + 4
2019-02-28 17:50:50.630746+0800 HBuilder[14181:3729499] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication registerForRemoteNotifications]
PID: 14181, TID: 3729499, Thread name: (none), Queue name: com.apple.usernotifications.UNUserNotificationServiceConnection.call-out, QoS: 0
Backtrace:
4 HBuilder 0x000000010054b68c __44-[EaseSDKHelper _registerRemoteNotification]_block_invoke + 92
5 UserNotifications 0x00000001bbf4de54 <redacted> + 44
6 libdispatch.dylib 0x0000000103e9f8a0 _dispatch_call_block_and_release + 32
7 libdispatch.dylib 0x0000000103ea0e38 _dispatch_client_callout + 20
8 libdispatch.dylib 0x0000000103ea9128 _dispatch_lane_serial_drain + 724
9 libdispatch.dylib 0x0000000103ea9e78 _dispatch_lane_invoke + 480
10 libdispatch.dylib 0x0000000103eb3b30 _dispatch_workloop_worker_thread + 1168
11 libsystem_pthread.dylib 0x00000001b13e6b20 _pthread_wqthread + 316
12 libsystem_pthread.dylib 0x00000001b13ecdd4 start_wqthread + 4

  • Hook 1 (target stop-hook disable)
    =================================================================
    Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarFrame]
    PID: 14181, TID: 3729511, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
    Backtrace:
    4 HBuilder 0x00000001007a9408 23+[WXCoreBridge install]_block_invoke + 668
    5 libdispatch.dylib 0x0000000103ea0e38 _dispatch_client_callout + 20
    6 libdispatch.dylib 0x0000000103ea2f5c _dispatch_once_callout + 120
    7 HBuilder 0x00000001007a9164 +[WXCoreBridge install] + 48
    8 HBuilder 0x00000001006f70ac -[WXBridgeContext registerGlobalFunctions] + 160
    9 HBuilder 0x00000001006f6fa0 -[WXBridgeContext jsBridge] + 328
    10 HBuilder 0x00000001006fce74 -[WXBridgeContext executeJsFramework:] + 112
    11 HBuilder 0x000000010070a0ec
    38-[WXBridgeManager executeJsFramework:]_block_invoke + 72
    12 HBuilder 0x0000000100708d18 +[WXBridgeManager _performBlockOnBridgeThread:] + 236
    13 libobjc.A.dylib 0x00000001b09d78a0 <redacted> + 68
    14 Foundation 0x00000001b22a9e38 <redacted> + 340
    15 CoreFoundation 0x00000001b177051c <redacted> + 28
    16 CoreFoundation 0x00000001b1770498 <redacted> + 92
    17 CoreFoundation 0x00000001b176fd50 <redacted> + 180
    18 CoreFoundation 0x00000001b176aa08 <redacted> + 1032
    19 CoreFoundation 0x00000001b176a2e8 CFRunLoopRunSpecific + 452
    20 Foundation 0x00000001b216e3e0 <redacted> + 304
    21 HBuilder 0x00000001007089b0 -[WXBridgeManager _runLoopThread] + 264
    22 Foundation 0x00000001b216cfc0 <redacted> + 72
    23 Foundation 0x00000001b22a9c44 <redacted> + 1044
    24 libsystem_pthread.dylib 0x00000001b13e4974 <redacted> + 132
    25 libsystem_pthread.dylib 0x00000001b13e48d0 _pthread_start + 52
    26 libsystem_pthread.dylib 0x00000001b13ecddc thread_start + 4
    2019-02-28 17:50:50.869843+0800 HBuilder[14181:3729511] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarFrame]
    PID: 14181, TID: 3729511, Thread name: com.taobao.weex.bridge, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
    Backtrace:
    4 HBuilder 0x00000001007a9408 23+[WXCoreBridge install]_block_invoke + 668
    5 libdispatch.dylib 0x0000000103ea0e38 _dispatch_client_callout + 20
    6 libdispatch.dylib 0x0000000103ea2f5c _dispatch_once_callout + 120
    7 HBuilder 0x00000001007a9164 +[WXCoreBridge install] + 48
    8 HBuilder 0x00000001006f70ac -[WXBridgeContext registerGlobalFunctions] + 160
    9 HBuilder 0x00000001006f6fa0 -[WXBridgeContext jsBridge] + 328
    10 HBuilder 0x00000001006fce74 -[WXBridgeContext executeJsFramework:] + 112
    11 HBuilder 0x000000010070a0ec
    38-[WXBridgeManager executeJsFramework:]_block_invoke + 72
    12 HBuilder 0x0000000100708d18 +[WXBridgeManager _performBlockOnBridgeThread:] + 236
    13 libobjc.A.dylib 0x00000001b09d78a0 <redacted> + 68
    14 Foundation 0x00000001b22a9e38 <redacted> + 340
    15 CoreFoundation 0x00000001b177051c <redacted> + 28
    16 CoreFoundation 0x00000001b1770498 <redacted> + 92
    17 CoreFoundation 0x00000001b176fd50 <redacted> + 180
    18 CoreFoundation 0x00000001b176aa08 <redacted> + 1032
    19 CoreFoundation 0x00000001b176a2e8 CFRunLoopRunSpecific + 452
    20 Foundation 0x00000001b216e3e0 <redacted> + 304
    21 HBuilder 0x00000001007089b0 -[WXBridgeManager _runLoopThread] + 264
    22 Foundation 0x00000001b216cfc0 <redacted> + 72
    23 Foundation 0x00000001b22a9c44 <redacted> + 1044
    24 libsystem_pthread.dylib 0x00000001b13e4974 <redacted> + 132
    25 libsystem_pthread.dylib 0x00000001b13e48d0 _pthread_start + 52
    26 libsystem_pthread.dylib 0x00000001b13ecddc thread_start + 4
    xxx set_core_side is runing and 0x28101c0302019-02-28 17:50:51.038606+0800 HBuilder[14181:3729299] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/0C92370E-0FA3-4B5D-81E7-6217110403A3/Library/Cookies/Cookies.binarycookies
    2019-02-28 17:50:51.048911+0800 HBuilder[14181:3729299] ######===>>>>New Device Model:[iPhone11,8]
    2019-02-28 17:50:51.058250+0800 HBuilder[14181:3729299] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2812751c0, domain=1, instance=1>
    2019-02-28 17:50:51.058688+0800 HBuilder[14181:3729299] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x281275140, domain=1, instance=2>
    (lldb)
2019-02-28 18:12 负责人:无 分享
已邀请:
CLP

CLP

用最新版本的离线sdk集成会有这个问题吗?

  • hunangjinsheng (作者)

    是的,用的就是最新的SDK, 我目前的处理是把不集成H5+里面的个推,使用原生集成个推就不会有问题

    2019-03-08 10:04

  • hunangjinsheng (作者)

    H5+的集成文档很久没更新了吧,按照文档集成iOS会有很多坑,而且文档和DCloud里面提供的Demo也对不上,像语音集成这块需要的库文档里也没有写全,编译就会报错

    2019-03-08 10:08

  • CLP

    回复 hunangjinsheng:你说的语音集成这块缺哪个?

    2019-03-09 15:44

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