wufan2
wufan2
  • 发布:2020-07-03 17:38
  • 更新:2020-12-31 14:32
  • 阅读:1044

initSDKEnvironmentWihtLaunchOptions初始化引擎程序奔溃

分类:uni-app

0 CoreFoundation 0x00000001bf760178 9624AAFD-5437-3772-A507-0F357875808D + 1253752
1 libobjc.A.dylib 0x00000001bf474c1c objc_exception_throw + 60
2 CoreFoundation 0x00000001bf7b93a8 9624AAFD-5437-3772-A507-0F357875808D + 1618856
3 CoreFoundation 0x00000001bf7c3320 9624AAFD-5437-3772-A507-0F357875808D + 1659680
4 CoreFoundation 0x00000001bf646fd0 9624AAFD-5437-3772-A507-0F357875808D + 102352
5 CoreFoundation 0x00000001bf63880c 9624AAFD-5437-3772-A507-0F357875808D + 43020
6 AppPlant 0x00000001005c9544 -[H5WeexUniJs getStartParam] + 424
7 AppPlant 0x00000001005c9378 -[H5WeexUniJs getAdpterJs] + 56
8 AppPlant 0x00000001005c9044 -[H5WeexUniJs getUniJsCompletion:] + 64
9 AppPlant 0x000000010077ac70 -[H5WeexImport regiesterServicesAndModule
2020-07-03 17:28:52.306720+0800 AppPlant[596:37453] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]'

初始化引擎的时候显示数组越界崩溃,帮忙排查下

2020-07-03 17:38 负责人:无 分享
已邀请:
创蓝云智

创蓝云智

+1,同样的问题。
做一个原生插件,添加防崩溃代码临时解决。
https://github.com/allenhsu/NSDictionary-NilSafe

DCloud_iOS_XHY

DCloud_iOS_XHY

缺少资源文件, core/resource 中的资源没有添加到工程导致的

2***@qq.com

2***@qq.com

搞定了吗楼主求解啊 +个qq254483834

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