x***@qq.com
x***@qq.com
  • 发布:2021-05-10 03:10
  • 更新:2022-08-04 10:51
  • 阅读:1320

【报Bug】iO 打包后显示白屏;H5端,安卓正式包,ios自定义基座均正常,ios离线版白屏

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 11.3.1

HBuilderX类型: 正式

HBuilderX版本号: 3.1.12

手机系统: iOS

手机系统版本号: IOS 14

手机厂商: 苹果

手机机型: 11

页面类型: vue

打包方式: 离线

项目创建方式: HBuilderX

App下载地址或H5⽹址: https://lineone.test.djkjapp.com/vip/sphn

操作步骤:

预期结果:

实际结果:

bug描述:

H5端,安卓正式包,ios自定义基座均正常,
离线打包后白屏;只显示tab;;

2021-05-10 02:37:43.783165+0800 HBuilder[22239:374108] -canOpenURL: failed for URL: "taobao://" - error: "This app is not allowed to query for scheme taobao"  
2021-05-10 02:37:43.784014+0800 HBuilder[22239:374108] -canOpenURL: failed for URL: "kwai://" - error: "This app is not allowed to query for scheme kwai"  
2021-05-10 02:37:43.784736+0800 HBuilder[22239:374108] -canOpenURL: failed for URL: "awemesso://" - error: "This app is not allowed to query for scheme awemesso"  
2021-05-10 02:37:43.785459+0800 HBuilder[22239:374108] -canOpenURL: failed for URL: "pinduoduo://" - error: "This app is not allowed to query for scheme pinduoduo"  
2021-05-10 02:37:43.786173+0800 HBuilder[22239:374108] -canOpenURL: failed for URL: "openApp.jdMobile://" - error: "This app is not allowed to query for scheme openapp.jdmobile"  
2021-05-10 02:37:43.796284+0800 HBuilder[22239:374108] ######===>>>>New Device Model:[x86_64]  
2021-05-10 02:37:43.801246+0800 HBuilder[22239:374503] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}  
2021-05-10 02:37:43.801282+0800 HBuilder[22239:374108] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}  
2021-05-10 02:37:43.801872+0800 HBuilder[22239:374503] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}  
2021-05-10 02:37:43.802046+0800 HBuilder[22239:374108] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}  
2021-05-10 02:37:43.802489+0800 HBuilder[22239:374108] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}  
2021-05-10 02:37:43.802544+0800 HBuilder[22239:374503] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}  
2021-05-10 02:37:43.804057+0800 HBuilder[22239:374503] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}  
2021-05-10 02:37:43.804349+0800 HBuilder[22239:374503] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated.}  
2021-05-10 02:37:44.362831+0800 HBuilder[22239:374503] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed  
2021-05-10 02:37:44.388806+0800 HBuilder[22239:374108] [Runtime][DEBUG:] ##CoreApp##...app start load..  
2021-05-10 02:37:44.393770+0800 HBuilder[22239:374108] -canOpenURL: failed for URL: "hbuilder://" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"  
2021-05-10 02:37:44.394284+0800 HBuilder[22239:374108] [Runtime][DEBUG:] ##CoreApp##...createAppRuntime..  
2021-05-10 02:37:44.437801+0800 HBuilder[22239:374511] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}  
2021-05-10 02:37:44.438041+0800 HBuilder[22239:374511] [Client] Updating selectors after delegate removal failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}  
2021-05-10 02:37:44.743017+0800 HBuilder[22239:374108] [Runtime][DEBUG:] splash screen needs to be closed automatically  
2021-05-10 02:37:45.043521+0800 HBuilder[22239:374108] [Runtime][DEBUG:] core started  
2021-05-10 02:37:45.059418+0800 HBuilder[22239:374501] Cannot make directory /Users/liuzhenxing/Library/Developer/CoreSimulator/Devices/6414B038-EBA6-408C-B30C-890A7AC8D719/data/Containers/Data/Application/EDABB4EB-2F7C-4E69-8EAB-1C7D37DE46B7/Library/Pandora/apps/__UNI__09BE1E8/www: File exists  
2021-05-10 02:37:45.279838+0800 HBuilder[22239:374108] [Runtime][DEBUG:] ##CoreApp##...createAppWindow..  
2021-05-10 02:37:45.287116+0800 HBuilder[22239:374108] [Runtime][DEBUG:] ##CoreApp##...Create a homepage...  
2021-05-10 02:37:46.610448+0800 HBuilder[22239:374108] WF: === Starting WebFilter logging for process HBuilder  
2021-05-10 02:37:46.610731+0800 HBuilder[22239:374108] WF: _userSettingsForUser : (null)  
2021-05-10 02:37:46.610895+0800 HBuilder[22239:374108] WF: _WebFilterIsActive returning: NO  
2021-05-10 02:37:46.928605+0800 HBuilder[22239:374108] [Runtime][INFO:] refreshWhitePageCheckWebview---evt[3]---[<PDRCoreAppFrame: 0x7faff483ee00; frame = (0 0; 375 667); clipsToBounds = YES; layer = <CALayer: 0x600000a9b7e0>>]  
2021-05-10 02:37:46.929269+0800 HBuilder[22239:374108] [Runtime][INFO:] Archiver file fullPath /Users/liuzhenxing/Library/Developer/CoreSimulator/Devices/6414B038-EBA6-408C-B30C-890A7AC8D719/data/Containers/Data/Application/EDABB4EB-2F7C-4E69-8EAB-1C7D37DE46B7/Library/Pandora/apps/__UNI__09BE1E8/data/download.plist  
2021-05-10 02:37:46.933790+0800 HBuilder[22239:374108] [Runtime][INFO:] Archiver file fullPath /Users/liuzhenxing/Library/Developer/CoreSimulator/Devices/6414B038-EBA6-408C-B30C-890A7AC8D719/data/Containers/Data/Application/EDABB4EB-2F7C-4E69-8EAB-1C7D37DE46B7/Library/Pandora/apps/__UNI__09BE1E8/data/upload.plist  
2021-05-10 02:37:46.935481+0800 HBuilder[22239:374108] <Weex>[error]script_bridge.h:168, <WeexCore> xxx set_core_side is runing and 0x6000008a0a50  
2021-05-10 02:37:46.936428+0800 HBuilder[22239:374108] <Weex>[log]WXSDKInstance.m:503, Start rendering page:app-service.js  
2021-05-10 02:37:47.035363+0800 HBuilder[22239:374546] <Weex>[error]WXExceptionUtils.m:38, Weex exception errCode: -9700 function: func: createInstance arg:start message: [WX_KEY_EXCEPTION_WXBRIDGE] exception: SyntaxError: Invalid regular expression: invalid group specifier name  
 stack:(null)  
2021-05-10 02:37:47.035551+0800 HBuilder[22239:374546] <Weex>[error]WXMonitor.m:289, [WX_KEY_EXCEPTION_WXBRIDGE] exception: SyntaxError: Invalid regular expression: invalid group specifier name  
 stack:(null)  
2021-05-10 02:37:47.050324+0800 HBuilder[22239:374108] [Runtime][INFO:] check webview enable white check--[1]--manifesttarget [1]  
2021-05-10 02:37:47.225439+0800 HBuilder[22239:374108] [Runtime][DEBUG:] -----deviceid+E8A3ECAA-F6A5-444F-B22E-40B37E36F64C  
2021-05-10 02:37:52.929146+0800 HBuilder[22239:374108] [Runtime][DEBUG:] doSplashTimeout  
2021-05-10 02:37:52.930067+0800 HBuilder[22239:374108] [Runtime][DEBUG:] core handle startparam end  
2021-05-10 02:37:52.930856+0800 HBuilder[22239:374108] [Runtime][DEBUG:] closeSplashscreen  
2021-05-10 02:37:52.931560+0800 HBuilder[22239:374108] [Runtime][DEBUG:] -----deviceid+E8A3ECAA-F6A5-444F-B22E-40B37E36F64C  
2021-05-10 02:37:52.947799+0800 HBuilder[22239:374511] [connection] nw_socket_handle_socket_event [C2.1:3] Socket SO_ERROR [61: Connection refused]  
2021-05-10 02:37:52.987791+0800 HBuilder[22239:374507] Connection 2: received failure notification  
2021-05-10 02:37:52.987946+0800 HBuilder[22239:374507] Connection 2: failed to connect 1:61, reason -1  
2021-05-10 02:37:52.988059+0800 HBuilder[22239:374507] Connection 2: encountered error(1:61)  
2021-05-10 02:37:52.989933+0800 HBuilder[22239:374507] Task <C97AD7F3-7832-42F1-B6D9-3690114E9E06>.<1> HTTP load failed, 0/0 bytes (error code: -1004 [1:61])  
2021-05-10 02:37:52.992712+0800 HBuilder[22239:374507] Task <C97AD7F3-7832-42F1-B6D9-3690114E9E06>.<1> finished with error [-1004] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x600000439a10 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <C97AD7F3-7832-42F1-B6D9-3690114E9E06>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(  
    "LocalDataTask <C97AD7F3-7832-42F1-B6D9-3690114E9E06>.<1>"  
), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=https://s1.dcloud.net.cn/collect/plusapp/startup, NSErrorFailingURLKey=https://s1.dcloud.net.cn/collect/plusapp/startup, _kCFStreamErrorDomainKey=1}  
CoreSimulator 757.5 - Device: iPhone 8 (6414B038-EBA6-408C-B30C-890A7AC8D719) - Runtime: iOS 14.5 (18E182) - DeviceType: iPhone 8  
2021-05-10 03:10 负责人:无 分享
已邀请:
j***@163.com

j***@163.com

我也出现该问题,不知道该怎么解决.

  • j***@163.com

    模拟器调试很久都找不到解决方法,换成真机调试就好了.

    2021-05-26 18:11

s***@163.com

s***@163.com

老哥 我和你一模一样的报错 xcode 的报错信息都一样...
你现在有找到解决方法吗

DCloud_iOS_WZT

DCloud_iOS_WZT

用官方的SDK工程把你的资源倒进去试下

2***@qq.com

2***@qq.com

有解决吗?也遇到了

  • DCloud_iOS_WZT

    这个帖子是去年的,你要遇到什么问题按照Bug模板重新发帖子,如果离线SDK有问题大概率是库没加全 去官方文档里对比依赖库列表排查下

    2022-08-04 11:06

要回复问题请先登录注册