7***@qq.com
7***@qq.com
  • 发布:2019-06-25 11:49
  • 更新:2019-06-25 11:49
  • 阅读:2937

项目升级问题

分类:HBuilder

之前项目使用xcode9打包没有问题,sdk使用2018年4月份的。开发工具升级到xcode10,sdk版本升级到20190614版。报错如下:
objc[4916]: Class MPRequest is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer (0x108b183f8) and /Users/dengweihao/Library/Developer/CoreSimulator/Devices/639D4DB1-3D07-4E8C-B1B8-E12CC8AEBBE1/data/Containers/Bundle/Application/3816C59F-42E1-4387-8429-0B7FAFF9C745/HBuilder.app/HBuilder (0x1081981e0). One of the two will be used. Which one is undefined.
2019-06-25 11:38:20.779903+0800 HBuilder[4916:145543] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
2019-06-25 11:38:21.281078+0800 HBuilder[4916:145543] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/dengweihao/Library/Developer/CoreSimulator/Devices/639D4DB1-3D07-4E8C-B1B8-E12CC8AEBBE1/data/Containers/Data/Application/B3B1F489-D388-445B-9363-5E3E94B550C2/Library/Cookies/com.pactera.jtnshcredictcard.binarycookies
2019-06-25 11:38:21.304057+0800 HBuilder[4916:145543] -canOpenURL: failed for URL: "hbuilder://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2019-06-25 11:38:21.306031+0800 HBuilder[4916:145543] 5+ WebApp启动时触发
2019-06-25 11:38:22.685910+0800 HBuilder[4916:145782] ######===>>>>New Device Model:[x86_64]
2019-06-25 11:38:22.696458+0800 HBuilder[4916:145782] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.696458+0800 HBuilder[4916:145783] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.696690+0800 HBuilder[4916:145782] [NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.696720+0800 HBuilder[4916:145783] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.697670+0800 HBuilder[4916:145782] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.697731+0800 HBuilder[4916:145836] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.697836+0800 HBuilder[4916:145782] [NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.697613+0800 HBuilder[4916:145783] [Client] Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.698816+0800 HBuilder[4916:145783] [Client] Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.699357+0800 HBuilder[4916:145783] [Client] Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.699833+0800 HBuilder[4916:145782] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.700098+0800 HBuilder[4916:145783] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.700233+0800 HBuilder[4916:145782] [NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-06-25 11:38:22.701235+0800 HBuilder[4916:145783] [Client] Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarOrientation]
PID: 4916, TID: 145782, Thread name: (none), Queue name: io.dcloud.background (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4 HBuilder 0x0000000108066b9a +[PTDeviceDisplayInfo displayInfo] + 90
5 HBuilder 0x000000010806745b -[PTDevice update] + 67
6 HBuilder 0x000000010806740c -[PTDevice init] + 138
7 HBuilder 0x0000000108067352 +[PTDevice sharedDevice] + 61
8 HBuilder 0x00000001080754f0 -[PGDeviceStatusJSBuilder init] + 70
9 HBuilder 0x000000010807547a +[PGDeviceStatusJSBuilder sharedJSBulider] + 61
10 HBuilder 0x000000010807c5f5 +[H5CoreJavaScriptText genDeviceJS] + 29
11 HBuilder 0x000000010807d778 59-[PDRCoreAppResource load5PlusApiJsForLoader:withDelegate:]_block_invoke + 149
12 HBuilder 0x000000010807e0af
64-[PDRCoreAppResourceLoader loadResourceWithHandle:withDelegate:]_block_invoke + 71
13 HBuilder 0x0000000108021bc1 27+[PDRCore runTask:inQueue:]_block_invoke + 25
14 Foundation 0x0000000109e1a412
NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7
15 Foundation 0x0000000109e1a31a -[NSBlockOperation main] + 68
16 Foundation 0x0000000109e171f4 -[
NSOperationInternal _start:] + 688
17 Foundation 0x0000000109e1cf5b NSOQSchedule_f + 227
18 libdispatch.dylib 0x00000001110ffd7f _dispatch_call_block_and_release + 12
19 libdispatch.dylib 0x0000000111100db5 _dispatch_client_callout + 8
20 libdispatch.dylib 0x0000000111103c95 _dispatch_continuation_pop + 552
21 libdispatch.dylib 0x000000011110308f _dispatch_async_redirect_invoke + 849
22 libdispatch.dylib 0x0000000111111632 _dispatch_root_queue_drain + 351
23 libdispatch.dylib 0x0000000111111fca _dispatch_worker_thread2 + 130
24 libsystem_pthread.dylib 0x00000001114e96b3 _pthread_wqthread + 583
25 libsystem_pthread.dylib 0x00000001114e93fd start_wqthread + 13
2019-06-25 11:38:22.724246+0800 HBuilder[4916:145782] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication statusBarOrientation]
PID: 4916, TID: 145782, Thread name: (none), Queue name: io.dcloud.background (QOS: UNSPECIFIED), QoS: 0
Backtrace:
4 HBuilder 0x0000000108066b9a +[PTDeviceDisplayInfo displayInfo] + 90
5 HBuilder 0x000000010806745b -[PTDevice update] + 67
6 HBuilder 0x000000010806740c -[PTDevice init] + 138
7 HBuilder 0x0000000108067352 +[PTDevice sharedDevice] + 61
8 HBuilder 0x00000001080754f0 -[PGDeviceStatusJSBuilder init] + 70
9 HBuilder 0x000000010807547a +[PGDeviceStatusJSBuilder sharedJSBulider] + 61
10 HBuilder 0x000000010807c5f5 +[H5CoreJavaScriptText genDeviceJS] + 29
11 HBuilder 0x000000010807d778
59-[PDRCoreAppResource load5PlusApiJsForLoader:withDelegate:]_block_invoke + 149
12 HBuilder 0x000000010807e0af 64-[PDRCoreAppResourceLoader loadResourceWithHandle:withDelegate:]_block_invoke + 71
13 HBuilder 0x0000000108021bc1
27+[PDRCore runTask:inQueue:]_block_invoke + 25
14 Foundation 0x0000000109e1a412 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7
15 Foundation 0x0000000109e1a31a -[NSBlockOperation main] + 68
16 Foundation 0x0000000109e171f4 -[NSOperationInternal _start:] + 688
17 Foundation 0x0000000109e1cf5b NSOQSchedule_f + 227
18 libdispatch.dylib 0x00000001110ffd7f _dispatch_call_block_and_release + 12
19 libdispatch.dylib 0x0000000111100db5 _dispatch_client_callout + 8
20 libdispatch.dylib 0x0000000111103c95 _dispatch_continuation_pop + 552
21 libdispatch.dylib 0x000000011110308f _dispatch_async_redirect_invoke + 849
22 libdispatch.dylib 0x0000000111111632 _dispatch_root_queue_drain + 351
23 libdispatch.dylib 0x0000000111111fca _dispatch_worker_thread2 + 130
24 libsystem_pthread.dylib 0x00000001114e96b3 _pthread_wqthread + 583
25 libsystem_pthread.dylib 0x00000001114e93fd start_wqthread + 13
2019-06-25 11:38:31.354152+0800 HBuilder[4916:145780] NSURLConnection finished with error - code -1001
2019-06-25 11:38:31.367590+0800 HBuilder[4916:146058] Task <9DF2D527-C3F9-4D7F-8B01-F87561CE6C7A>.<0> HTTP load failed (error code: -999 [1:89])
2019-06-25 11:38:31.606821+0800 HBuilder[4916:145543] -[PDRCoreAppFrame layoutApplyOptions]: unrecognized selector sent to instance 0x7fea21878000
2019-06-25 11:38:31.685309+0800 HBuilder[4916:145543] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PDRCoreAppFrame layoutApplyOptions]: unrecognized selector sent to instance 0x7fea21878000'
First throw call stack:
(
0 CoreFoundation 0x00000001099566fb
exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010fbc0ac5 objc_exceptionthrow + 48
2 CoreFoundation 0x0000000109974ab4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 UIKitCore 0x000000011c01ac3d -[UIResponder doesNotRecognizeSelector:] + 287
4 CoreFoundation 0x000000010995b443
forwarding_ + 1443
5 CoreFoundation 0x000000010995d238 _CF_forwarding_prep_0 + 120
6 HBuilder 0x00000001080a9277 -[PDRCoreAnimation NWindowShowAnimation:withDuration:WithStyle:ByFrame:withParentView:delegate:uid:destLayoutRect:] + 168
7 HBuilder 0x0000000108041f55 -[PDRCoreAppWindow NWindowShowAnimation:withDuration:WithStyle:ByFrame:withParentView:delegate:uid:destLayoutRect:] + 178
8 HBuilder 0x0000000108043f41 -[PDRCoreAppWindow showFrame:withAnitype:withDuration:withAssignFrame:withBehindFrame:withDelegate:withContext:] + 621
9 HBuilder 0x000000010804b35e -[PDRCoreApp createIndexWebviews:] + 447
10 HBuilder 0x00000001080371a0 -[PDRCoreAppManager startAutoStartApp] + 200
11 libdispatch.dylib 0x00000001110ffd7f _dispatch_call_block_and_release + 12
12 libdispatch.dylib 0x0000000111100db5 _dispatch_client_callout + 8
13 libdispatch.dylib 0x000000011110e080 _dispatch_main_queue_callback_4CF + 1540
14 CoreFoundation 0x00000001098bd8a9
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
15 CoreFoundation 0x00000001098b7f56
CFRunLoopRun + 2310
16 CoreFoundation 0x00000001098b7302 CFRunLoopRunSpecific + 626
17 GraphicsServices 0x00000001124852fe GSEventRunModal + 65
18 UIKitCore 0x000000011bfeeba2 UIApplicationMain + 140
19 HBuilder 0x0000000107f67dc4 main + 100
20 libdyld.dylib 0x0000000111175541 start + 1
21 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
求解救

2019-06-25 11:49 负责人:无 分享
已邀请:

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