首页 新闻 赞助 找找看

flutter项目集成ios原生错误

0
悬赏园豆:200 [待解决问题]

项目大部分是用flutter写的,有一部分是iOS 之前还好好的,忽然就运行报错 真机测试的时候白屏 但是定位不到错误行
模拟器跑的时候倒是有错误
但是没有看懂

2020-11-16 15:16:39.202359+0800 马鞍山管理平台[34553:273769] MTA 不支持模拟器,请用真机测试
2020-11-16 15:16:41.161793+0800 马鞍山管理平台[34553:273769] -[__NSCFConstantString objectForKey:]: unrecognized selector sent to instance 0x7fff801a6cb8
2020-11-16 15:18:49.475464+0800 马鞍山管理平台[34553:273769] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString objectForKey:]: unrecognized selector sent to instance 0x7fff801a6cb8'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff2041daf2 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20177e78 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2042c6f7 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
3 CoreFoundation 0x00007fff20422032 forwarding + 1489
4 CoreFoundation 0x00007fff20424068 _CF_forwarding_prep_0 + 120
5 Flutter 0x0000000112e2297b +[FlutterDartProject domainNetworkPolicy:] + 352
6 Flutter 0x0000000112e21dd5 -[FlutterDartProject initWithPrecompiledDartBundle:] + 1371
7 Flutter 0x0000000112e2417d -[FlutterEngine initWithName:project:allowHeadlessExecution:] + 218
8 Flutter 0x0000000112e3aa4a -[FlutterViewController sharedSetupWithProject:initialRoute:] + 86
9 Flutter 0x0000000112e3a9d4 -[FlutterViewController awakeFromNib] + 76
10 UIKitCore 0x00007fff24276339 -[UINib instantiateWithOwner:options:] + 2697
11 UIKitCore 0x00007fff247fb8ee -[UIStoryboard __reallyInstantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 278
12 UIKitCore 0x00007fff247fb79a -[UIStoryboard _instantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 97
13 UIKitCore 0x00007fff246798de -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 166
14 UIKitCore 0x00007fff24679e22 -[UIApplication _loadMainInterfaceFile] + 274
15 UIKitCore 0x00007fff246788f3 -[UIApplication _runWithMainScene:transitionContext:completion:] + 971
16 UIKitCore 0x00007fff23ca37bb -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
17 UIKitCore 0x00007fff2423120a _UIScenePerformActionsWithLifecycleActionMask + 88
18 UIKitCore 0x00007fff23ca42ca __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
19 UIKitCore 0x00007fff23ca3d8e -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 474
20 UIKitCore 0x00007fff23ca40fb -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 819
21 UIKitCore 0x00007fff23ca398f -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
22 UIKitCore 0x00007fff23cabc27 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 178
23 UIKitCore 0x00007fff2413afe7 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 871
24 UIKitCore 0x00007fff2424dab2 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
25 UIKitCore 0x00007fff23cab92d -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 361
26 UIKitCore 0x00007fff23acf034 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 797
27 UIKitCore 0x00007fff23acdade -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 253
28 UIKitCore 0x00007fff23acec6d -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 208
29 UIKitCore 0x00007fff24676e9c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 508
30 UIKitCore 0x00007fff241633f3 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 358
31 FrontBoardServices 0x00007fff25a7e0ae -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 391
32 FrontBoardServices 0x00007fff25aa6b41 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.176 + 102
33 FrontBoardServices 0x00007fff25a8bad5 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 209
34 FrontBoardServices 0x00007fff25aa680f __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 352
35 libdispatch.dylib 0x00000001171189c8 _dispatch_client_callout + 8
36 libdispatch.dylib 0x000000011711b910 _dispatch_block_invoke_direct + 295
37 FrontBoardServices 0x00007fff25acc7a5 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 30
38 FrontBoardServices 0x00007fff25acc48b -[FBSSerialQueue _targetQueue_performNextIfPossible] + 433
39 FrontBoardServices 0x00007fff25acc950 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
40 CoreFoundation 0x00007fff2038c37a CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
41 CoreFoundation 0x00007fff2038c272 __CFRunLoopDoSource0 + 180
42 CoreFoundation 0x00007fff2038b754 __CFRunLoopDoSources0 + 248
43 CoreFoundation 0x00007fff20385f1f __CFRunLoopRun + 878
44 CoreFoundation 0x00007fff203856c6 CFRunLoopRunSpecific + 567
45 GraphicsServices 0x00007fff2b76adb3 GSEventRunModal + 139
46 UIKitCore 0x00007fff24675187 -[UIApplication _run] + 912
47 UIKitCore 0x00007fff2467a038 UIApplicationMain + 101
48 马鞍山管理平台 0x000000010afeedf8 main + 72
49 libdyld.dylib 0x00007fff20256409 start + 1
50 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString objectForKey:]: unrecognized selector sent to instance 0x7fff801a6cb8'
terminating with uncaught exception of type NSException
CoreSimulator 732.18.0.2 - Device: iPhone 11 (25EF42D1-22EC-4BFE-B2EC-249E4E31508F) - Runtime: iOS 14.2 (18B79) - DeviceType: iPhone 11

大概是这样

三分糖的主页 三分糖 | 初学一级 | 园豆:2
提问于:2020-11-16 15:29
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册