加旋仔
加旋仔
  • 发布:2022-11-01 12:27
  • 更新:2022-11-03 19:17
  • 阅读:156

【报Bug】ios调用扫码接口时报错卡屏,reason:ZXCapture setAutoDecodeCharset

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: 正式

HBuilderX版本号: 3.6.4

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iphone14pro

页面类型: vue

vue版本: vue2

打包方式: 离线

项目创建方式: HBuilderX

操作步骤:

ios调用扫码接口时报错卡住

2022-11-01 11:27:33.584855+0800 智人2.0[14835:3236242] -[ZXCapture setAutoDecodeCharset:]: unrecognized selector sent to instance 0x283edb390
2022-11-01 11:27:33.586199+0800 智人2.0[14835:3236242] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ZXCapture setAutoDecodeCharset:]: unrecognized selector sent to instance 0x283edb390'
First throw call stack:
(0x1b439de88 0x1ad6c78d8 0x1b451284c 0x1b43b3fa0 0x1b441c350 0x1051bc58c 0x1051bbe50 0x105d12548 0x105d078ec 0x105d01cd4 0x105d0699c 0x108ba05a8 0x108ba205c 0x108bb2810 0x108bb2354 0x1b442e6f8 0x1b4410058 0x1b4414ed4 0x1ed716368 0x1b68f33d0 0x1b68f3034 0x104d348e0 0x1d2a7c960)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ZXCapture setAutoDecodeCharset:]: unrecognized selector sent to instance 0x283edb390'
terminating with uncaught exception of type NSException

预期结果:

ios正常扫码

实际结果:

ios卡屏报错

bug描述:

ios调用扫码接口时报错卡住

2022-11-01 11:27:33.584855+0800 智人2.0[14835:3236242] -[ZXCapture setAutoDecodeCharset:]: unrecognized selector sent to instance 0x283edb390
2022-11-01 11:27:33.586199+0800 智人2.0[14835:3236242] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ZXCapture setAutoDecodeCharset:]: unrecognized selector sent to instance 0x283edb390'
First throw call stack:
(0x1b439de88 0x1ad6c78d8 0x1b451284c 0x1b43b3fa0 0x1b441c350 0x1051bc58c 0x1051bbe50 0x105d12548 0x105d078ec 0x105d01cd4 0x105d0699c 0x108ba05a8 0x108ba205c 0x108bb2810 0x108bb2354 0x1b442e6f8 0x1b4410058 0x1b4414ed4 0x1ed716368 0x1b68f33d0 0x1b68f3034 0x104d348e0 0x1d2a7c960)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ZXCapture setAutoDecodeCharset:]: unrecognized selector sent to instance 0x283edb390'
terminating with uncaught exception of type NSException

2022-11-01 12:27 负责人:DCloud_iOS_WZT 分享
已邀请:
DCloud_iOS_WZT

DCloud_iOS_WZT

你是用的离线SDK还是云打包

天生DR

天生DR - 天生我材必有用

库没加对 根据扫码模块的配置 检查你的本地库

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