-
(BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions {
[PDRCore initEngineWihtOptions:launchOptions
withRunMode:PDRCoreRunModeNormal withDelegate:self];[[PDRCore Instance] start];
return YES;
}
- 发布:2020-12-02 17:35
- 更新:2021-10-12 07:52
- 阅读:1163
产品分类: HTML5+
HBuilderX版本号: 2.9.11
手机系统: iOS
手机系统版本号: IOS 14
手机厂商: 苹果
手机机型: 6s
打包方式: 离线
示例代码:
操作步骤:
APP启动 调用 [[PDRCore Instance] start]; 即闪退
APP启动 调用 [[PDRCore Instance] start]; 即闪退
预期结果:
正常运行
正常运行
实际结果:
闪退
闪退
bug描述:
老版本SDK跟新,全部替换。启动闪退 必现
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Have you sent -dcloud_io_setBackgroundColor: to <WKScrollView: 0x15e070600; baseClass = UIScrollView; frame = (0 0; 375 647); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x2815e8fc0>; layer = <CALayer: 0x281b3db40>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}> off the main thread? To verify, look for a complaint in the logs: "Unsupported use of UIKit…", and fix the problem if you find it. If your use is main-thread only please file a radar on UIKit, and attach this log. exercisedImplementations = {
"dcloud_io_setBackgroundColor:" = (
);
}'
闪退时函数调用栈在附件图可见
我也遇到了同样的问题,作者解决了吗
-
1***@qq.com (作者)
https://ask.dcloud.net.cn/question/106762?notification_id-860993rf-falseitem_id-151641#!answer_151641 我在这个帖子里面回复了我碰到的问题 你可以参考
2021-02-04 10:56