陆陆陆
陆陆陆
  • 发布:2022-12-26 16:39
  • 更新:2022-12-26 19:54
  • 阅读:517

【报Bug】离线打包iOS端高德地图选择位置iOS端地图不显示

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

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

HBuilderX类型: 正式

HBuilderX版本号: 3.6.14

手机系统: iOS

手机系统版本号: iOS 15

手机厂商: 苹果

手机机型: iphone13

页面类型: vue

vue版本: vue2

打包方式: 离线

项目创建方式: HBuilderX

示例代码:
uni.chooseLocation({  
                            success: e => {  
                                console.log(e)  
                                this.form.locationName = e.name  
                                this.form.locationCoordinate = `${e.longitude},${e.latitude}`  
                            },  
                        })

操作步骤:

uni.chooseLocation 高德地图离线基座iOS端不显示地图

预期结果:

地图正常显示

实际结果:

地图正常显示

bug描述:

使用uni.chooseLocation 选择位置时出现列表可以显示,地图空白的情况

2022-12-26 16:39 负责人:无 分享
已邀请:
陆陆陆

陆陆陆 (作者) - DDDDD

高德地图key 检查无异常

陆陆陆

陆陆陆 (作者) - DDDDD

show NWindow--[page1672044141521]  
2022-12-26 16:42:21.532488+0800 HBuilder[1648:895868] <Weex>[log]WXSDKInstance.m:503, Start rendering page:file:///var/mobile/Containers/Data/Application/72670B22-E5B2-4422-9217-B0C6EAC6C46E/Library/Pandora/apps/__UNI__EDA7EB0/www/__uniappchooselocation.js  
2022-12-26 16:42:21.617834+0800 HBuilder[1648:885130] <Weex>[error]render_manager.cpp:385, <WeexCore> RenderManager::CreateFinish 2  
2022-12-26 16:42:21.617928+0800 HBuilder[1648:885130] <Weex>[error]render_action_createfinish.cpp:26, <WeexCore> RenderActionCreateFinish::RenderActionCreateFinish  
2022-12-26 16:42:21.632146+0800 HBuilder[1648:884879] (null)  
2022-12-26 16:42:21.866632+0800 HBuilder[1648:893117] [] nehelper sent invalid result code [1] for Wi-Fi information request  
2022-12-26 16:42:21.945745+0800 HBuilder[1648:893117] [general] KVO failed to allocate class pair for name NSKVONotifying_SDWebImageDownloaderConfig, automatic key-value observing will not work for this class  
2022-12-26 16:42:21.987185+0800 HBuilder[1648:884879] [Runtime][INFO:] refreshWhitePageCheckWebview---evt[3]---[<PDRCoreAppFrame: 0x13e499400; frame = (0 0; 414 716); clipsToBounds = YES; layer = <CALayer: 0x281844160>>]  
2022-12-26 16:42:22.211177+0800 HBuilder[1648:895874] [tcp] tcp_output [C33.1:3] flags=[R.] seq=1505051730, ack=2459015286, win=8191 state=CLOSED rcv_nxt=2459015286, snd_una=1505051706  
2022-12-26 16:42:22.728769+0800 HBuilder[1648:885130] <Weex>[warn]WXComponentFactory.m:190, Fail to find selector with componet name:list and method:resetLoadmore, please check if the parameters are correct !  
2022-12-26 16:42:22.729056+0800 HBuilder[1648:885130] <Weex>[warn]WXComponentFactory.m:190, Fail to find selector with componet name:map and method:moveToLocation, please check if the parameters are correct !  
2022-12-26 16:42:22.730231+0800 HBuilder[1648:884879] (null)  
2022-12-26 16:42:22.738485+0800 HBuilder[1648:884879] Created cell:62 view:<WXView: 0x13ed1be30; frame = (0 0; 414 58); layer = <WXLayer: 0x2819ccb80>> cellView:<DCTableCell: 0x13ed0e260; baseClass = UITableViewCell; frame = (0 0; 320 44); layer = <CALayer: 0x2819f4d20>> at indexPath:<NSIndexPath: 0x930404515647b194> {length = 2, path = 0 - 0}  
2022-12-26 16:42:22.741663+0800 HBuilder[1648:896158] [] nehelper sent invalid result code [1] for Wi-Fi information request  
2022-12-26 16:42:22.748993+0800 HBuilder[1648:895873] [] nehelper sent invalid result code [1] for Wi-Fi information request  
2022-12-26 16:42:22.854248+0800 HBuilder[1648:885130] <Weex>[warn]WXComponentFactory.m:190, Fail to find selector with componet name:map and method:getCenterLocation, please check if the parameters are correct !  
2022-12-26 16:42:22.854497+0800 HBuilder[1648:885130] <Weex>[warn]WXComponentFactory.m:190, Fail to find selector with componet name:map and method:getCenterLocation, please check if the parameters are correct !  
2022-12-26 16:42:22.870669+0800 HBuilder[1648:885130] <Weex>[warn]WXComponentFactory.m:190, Fail to find selector with componet name:list and method:resetLoadmore, please check if the parameters are correct !  
2022-12-26 16:42:22.870892+0800 HBuilder[1648:885130] <Weex>[warn]WXComponentFactory.m:190, Fail to find selector with componet name:map and method:moveToLocation, please check if the parameters are correct !  
2022-12-26 16:42:23.003613+0800 HBuilder[1648:885130] <Weex>[warn]WXComponentFactory.m:190, Fail to find selector with componet name:map and method:getCenterLocation, please check if the parameters are correct !  
2022-12-26 16:42:23.003866+0800 HBuilder[1648:885130] <Weex>[warn]WXComponentFactory.m:190, Fail to find selector with componet name:map and method:getCenterLocation, please check if the parameters are correct !  
2022-12-26 16:42:23.166212+0800 HBuilder[1648:895875] [tcp] tcp_output [C36.1:3] flags=[R.] seq=2863425721, ack=3541238783, win=8191 state=CLOSED rcv_nxt=3541238783, snd_una=2863425697  
2022-12-26 16:42:23.255726+0800 HBuilder[1648:884879] Created cell:68 view:<WXView: 0x140556100; frame = (0 0; 414 65.6667); layer = <WXLayer: 0x2819d83c0>> cellView:<DCTableCell: 0x14055daa0; baseClass = UITableViewCell; frame = (0 0; 320 44); layer = <CALayer: 0x2819d8240>> at indexPath:<NSIndexPath: 0x930404515647b194> {length = 2, path = 0 - 0}  
2022-12-26 16:42:23.259078+0800 HBuilder[1648:884879] Created cell:86 view:<WXView: 0x14055c0d0; frame = (0 0; 414 65.6667); layer = <WXLayer: 0x2819d88c0>> cellView:<DCTableCell: 0x1405581f0; baseClass = UITableViewCell; frame = (0 0; 320 44); layer = <CALayer: 0x2819d8760>> at indexPath:<NSIndexPath: 0x930404515747b194> {length = 2, path = 0 - 1}  
2022-12-26 16:42:23.260857+0800 HBuilder[1648:884879] Created cell:102 view:<WXView: 0x14055e800; frame = (0 0; 414 65.6667); layer = <WXLayer: 0x2819d8da0>> cellView:<DCTableCell: 0x14055e430; baseClass = UITableViewCell; frame = (0 0; 320 44); layer = <CALayer: 0x2819d8c60>> at indexPath:<NSIndexPath: 0x930404515447b194> {length = 2, path = 0 - 2}  
2022-12-26 16:42:23.266258+0800 HBuilder[1648:884879] Created cell:118 view:<WXView: 0x13ed2fb60; frame = (0 0; 414 65.6667); layer = <WXLayer: 0x2819c3100>> cellView:<DCTableCell: 0x13ed2f790; baseClass = UITableViewCell; frame = (0 0; 320 44); layer = <CALayer: 0x2819c3460>> at indexPath:<NSIndexPath: 0x930404515547b194> {length = 2, path = 0 - 3}  
2022-12-26 16:42:23.270169+0800 HBuilder[1648:884879] Created cell:134 view:<WXView: 0x13ed2f610; frame = (0 0; 414 65.6667); layer = <WXLayer: 0x2819c1660>> cellView:<DCTableCell: 0x1405673a0; baseClass = UITableViewCell; frame = (0 0; 320 44); layer = <CALayer: 0x2819d9960>> at indexPath:<NSIndexPath: 0x930404515247b194> {length = 2, path = 0 - 4}
DCloud_iOS_WZT

DCloud_iOS_WZT

勾选下定位模块 然后重新自定义基座

要回复问题请先登录注册