alipay / mPaaS

mPaaS Demo 合集,mPaaS 是源自于支付宝的移动开发平台。The collection of demos for mPaaS components. mPaaS is the Mobile Development Platform which oriented from Alipay.

Home Page:https://tech.antfin.com/docs/2/49549

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS基于原生框架使用插件添加H5容器,加载URL报错

ningsf opened this issue · comments

commented

基于原生框架使用插件添加H5容器,执行文档上教程 [[MPNebulaAdapterInterface shareInstance] startH5ViewControllerWithParams:@{@"url":@"https://tech.antfin.com"}]; 时报错

2019-10-21 15:02:27.928728+0800 平安社区[18978:1106319] ...url=https://tracert.alipay.com/cross.html
2019-10-21 15:02:27.930962+0800 平安社区[18978:1106319] 内核dealloc...<PSDPage: 0x2824275a0>
2019-10-21 15:02:28.239374+0800 平安社区[18978:1106653] WF: _userSettingsForUser mobile: {
filterBlacklist = (
);
filterWhitelist = (
);
noOverridingAllowed = 1;
restrictWeb = 1;
useContentFilter = 0;
useContentFilterOverrides = 0;
whitelistEnabled = 0;
}
2019-10-21 15:02:28.239527+0800 平安社区[18978:1106653] WF: _WebFilterIsActive returning: NO
2019-10-21 15:02:30.703573+0800 平安社区[18978:1106319] ...willTerminate...
2019-10-21 15:02:30.704160+0800 平安社区[18978:1106319] 内核dealloc...<PSDSession: 0x28243f300>
2019-10-21 15:02:30.704450+0800 平安社区[18978:1106319] ...NBSession dealloc
2019-10-21 15:02:30.704761+0800 平安社区[18978:1106319] PSDScene dealloc
2019-10-21 15:02:30.705075+0800 平安社区[18978:1106319] 内核dealloc...<PSDScene: 0x28243f4e0>
2019-10-21 15:02:30.706236+0800 平安社区[18978:1106319] 内核dealloc...<PSDView: 0x282b05ea0>
2019-10-21 15:02:30.706441+0800 平安社区[18978:1106319] 内核dealloc...<PSDPage: 0x282411ec0>
2019-10-21 15:02:30.709385+0800 平安社区[18978:1106319] ...
2019-10-21 15:02:30.724708+0800 平安社区[18978:1106713] TIC Read Status [26:0x0]: 1:57
2019-10-21 15:02:31.105641+0800 平安社区[18978:1106319] [注意!!!] startSession 参数中未包含版本号
2019-10-21 15:02:31.106784+0800 平安社区[18978:1106319]


POSEIDON内核抛出的断言(Kernel Assert):
函数:-[PSDService jsApi:]-245
condition=_myFlags.isStarted desc=localLog
2019-10-21 15:02:31.107347+0800 平安社区[18978:1106319]


POSEIDON内核抛出的断言(Kernel Assert):
函数:-[PSDService jsApi:]-245
condition=_myFlags.isStarted desc=localLog
2019-10-21 15:02:31.108654+0800 平安社区[18978:1106319]


POSEIDON内核抛出的断言(Kernel Assert):
函数:-[PSDService createSessionWithSessionParam:expando:]-157
condition=_myFlags.isStarted
2019-10-21 15:02:31.133980+0800 平安社区[18978:1106319] POSEIDON内核抛出的警告(Kernel Warning):
函数:【-[PSDJsApiManager registerJsApi:groupId:]_block_invoke】 在其他分组已经存在JsApi:setTitle,该操作会覆盖其他的api!
2019-10-21 15:02:31.161196+0800 平安社区[18978:1106319] -[UIViewController options]: unrecognized selector sent to instance 0x10fd0fe60
2019-10-21 15:02:31.278432+0800 平安社区[18978:1106319] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
2019-10-21 15:02:31 UMengAnalytics<6.0.1>(Debug):[UMANError:62]UMAnalytics error:session_id=BF12E7320C2BC4B56BCF37B1A7B4C01E, context=-[UIViewController options]: unrecognized selector sent to instance 0x10fd0fe60
(null)
((
0 CoreFoundation 0x00000001e01e9294 + 252
1 libobjc.A.dylib 0x00000001df3c39f8 objc_exception_throw + 56
2 CoreFoundation 0x00000001e0105ab8 + 0
3 UIKitCore 0x000000020c9d6f60 + 280
4 CoreFoundation 0x00000001e01eeac4 + 1408
5 CoreFoundation 0x00000001e01f075c _CF_forwarding_prep_0 + 92
6 平安社区 0x00000001026e3ac0 -[Plugin4TitleView handleEvent:] + 2284
7 平安社区 0x0000000102965724 -[PSDKernel handleEvent:evenListenersDict:] + 1584
8 平安社区 0x0000000102965950 -[PSDKernel handleNormalEvent:] + 88
9 平安社区 0x0000000102966580 -[PSDKernel fireEvent:] + 92
10 平安社区 0x00000001029663c0 -[PSDKernel dispatchEvent:] + 832
11 平安社区 0x000000010291d6c0 -[NBViewControllerProxy dispatchEvent:] + 80
12 平安社区 0x000000010291d738 -[NBViewControllerProxy sendCreateNavigationTitleViewEvent] + 80
13 平安社区 0x000000010291fca8 -[NBViewControllerProxy initUI:delegate:] + 1100
14 平安社区 0x000000010293a4c4 -[UIViewController(NBLifecycle) initUI:delegate:] + 100
15 平安社区 0x000000010297b670 -[PSDScene initWithSceneParam:parentObject:] + 1312
16 平安社区 0x000000010297c030 +[PSDScene sceneWithSceneParam:parentObject:] + 108
17 平安社区 0x000000010296b23c -[PSDSession initWithSessionParam:expando:parentObject:] + 1080
18 平安社区 0x000000010296b42c +[PSDSession sessionWithSessionParam:expando:parentObject:] + 128
19 平安社区 0x000000010295c57c -[PSDService createSessionWithSessionParam:expando:] + 288
20 平安社区 0x00000001029430c8 -[NBSession initWithContext:] + 1940
21 平安社区 0x000000010292c8d4 -[NBSessionFactory createSession:] + 76
22 平安社区 0x000000010293d3d8 -[NBSessionManager session4Context:createIfNoExist:] + 620
23 平安社区 0x0000000102946e6c -[NBContext startSession:animated:] + 288
24 平安社区 0x000000010292ed80 -[NBService startSession:animated:] + 336
25 平安社区 0x0000000102ae6d2c -[MPNebulaAdapterInterface startH5ViewControllerWithParams:] + 112
26 平安社区 0x000000010070d730 -[TempViewController meterButtonClick:] + 236
27 UIKitCore 0x000000020c9ad040 + 96
28 UIKitCore 0x000000020c4561c8 + 80
29 UIKitCore 0x000000020c4564e8 + 440
30 UIKitCore 0x000000020c455554 + 568
31 平安社区 0x000000010095b150 __23+[UIControl(QMUI) load]_block_invoke_4.68 + 524
32 UIKitCore 0x000000020c9e4304 + 2108
33 UIKitCore 0x000000020c9e552c + 3140
34 UIKitCore 0x000000020c9c559c + 340
35 UIKitCore 0x000000020ca8b714 + 1768
36 UIKitCore 0x000000020ca8de40 + 4828
37 UIKitCore 0x000000020ca87070 + 152
38 CoreFoundation 0x00000001e017b018 + 24
39 CoreFoundation 0x00000001e017af98 + 88
40 CoreFoundation 0x00000001e017a880 + 176
41 CoreFoundation 0x00000001e01757bc + 1004
42 CoreFoundation 0x00000001e01750b0 CFRunLoopRunSpecific + 436
43 GraphicsServices 0x00000001e237579c GSEventRunModal + 104
44 UIKitCore 0x000000020c9ab978 UIApplicationMain + 212
45 平安社区 0x00000001006f98a4 main + 160
46 libdyld.dylib 0x00000001dfc3a8e0 + 4
)

dSYM UUID: DEF75525-A351-3F4B-9B75-2FAD75E49FA1
CPU Type: arm64
Slide Address: 0x0000000100000000
Binary Image: 平安社区
Base Address: 0x00000001006c4000

2019-10-21 15:02:31 UMengAnalytics<6.0.1>(Debug):[UMANTerminate:126]UMAnalytics session:session_id=BF12E7320C2BC4B56BCF37B1A7B4C01E, duration=33113.000000
libc++abi.dylib: terminate_handler unexpectedly threw an exception
(lldb)

commented

@autoreleasepool {
return UIApplicationMain(argc, argv, @"DFApplication", @"DFClientDelegate");;
}
解决了,在main.m文件里指定使用mPaaS的框架可以解决这个问题