xiaoxem
xiaoxem
  • 发布:2019-12-20 21:00
  • 更新:2019-12-20 21:00
  • 阅读:742

ios 离线打包报错 : __NSCFString JSONValue

分类:uni-app

2019-12-20 20:52:08.860895+0800 belottery[348:15691] -[NSCFString JSONValue]: unrecognized selector sent to instance 0x28057ce20
2019-12-20 20:52:08.861214+0800 belottery[348:15691] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[
NSCFString JSONValue]: unrecognized selector sent to instance 0x28057ce20'
*** First throw call stack:
(0x2322ea98c 0x2314c39f8 0x2322071c8 0x2322f01d4 0x2322f1e6c 0x104395580 0x104355560 0x10433e998 0x10432b88c 0x10432b010 0x1042cd960 0x25ec2b0f0 0x25ec2c854 0x25ec31fe0 0x25e4f52a4 0x25e4fd83c 0x25e4f4f28 0x25e4f5818 0x25e4f3b64 0x25e4f382c 0x25e4f836c 0x25e4f9150 0x25e4f8224 0x25e4fcf24 0x25ec305e8 0x25e82ce04 0x234c669fc 0x234c7040c 0x234c6fc14 0x1049ecc78 0x1049f0840 0x234ca1040 0x234ca0cdc 0x234ca1294 0x23227c728 0x23227c6a8 0x23227bf90 0x232276ecc 0x2322767c0 0x23447779c 0x25ec33c38 0x1042cd904 0x231d3a8e0)
libc++abi.dylib: terminating with uncaught exception of type NSException

--前提
使用ios 离线打包
other linker flag 仅用-Objc 方式

--现象
app 卡在欢迎页面,无法往下执行,报错信息如上所示。。

网上是有介绍说other linker flag 增加 -all_load 方式,但是这样就导致我集成第三方极光推送插件报错,编译的时候就不通过了,提示重复引用 ld: 1 duplicate symbol for architecture arm64

--请问这要如何解决!

2019-12-20 21:00 负责人:无 分享
已邀请:

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