Flutter Register IOS Plugin Problem - Hier SDK 4.20.3
Posted: 01 Mar 2025, 15:51
Ich kann meine Flattern -Anwendung für iOS auf Simulator iOS 17.4 nicht erstellen. Es wird ein erfolgreicher Build erhalten, aber nach der Installation auf Simulator, während sie die Anwendung geöffnet hat, stürzt sie plötzlich ab und schließt die Anwendung.
Ich habe versucht, AppDelegate zu aktualisieren, um das Plugin anzupassen, aber keine Ergebnisse.
Code: Select all
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: B7C8B193-F361-4064-8DC9-4F7DAF4ACCBB
CrashReporter Key: 5B46D1DB-1E86-4314-EF83-8764DB3E3147
Hardware Model: iMac21,1
Process: Runner [22435]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/F94FD688-1971-4237-98BB-F027DDBA73C6/data/Containers/Bundle/Application/73F897E5-16B2-477F-8CEC-9982E8BD27E8/Runner.app/Runner
Identifier: com.example.jaduCustomer
Version: 0.1.7 (0.1.7)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd_sim [2217]
Coalition: com.apple.CoreSimulator.SimDevice.F94FD688-1971-4237-98BB-F027DDBA73C6 [1630]
Responsible Process: SimulatorTrampoline [1318]
Date/Time: 2025-03-01 20:16:56.6429 +0530
Launch Time: 2025-03-01 20:16:53.4991 +0530
OS Version: macOS 15.3 (24D60)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4372332544
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1049c8000-1049cc000 [ 16K] r-x/r-x SM=COW /Users/USER/Library/Developer/CoreSimulator/Devices/F94FD688-1971-4237-98BB-F027DDBA73C6/data/Containers/Bundle/Application/73F897E5-16B2-477F-8CEC-9982E8BD27E8/Runner.app/Runner
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [22435]
Triggered by Thread: 0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libswiftCore.dylib 0x1932b8a54 swift_getObjectType + 36
1 here_sdk 0x104ab2a44 static SwiftHereSdkBasePlugin.register(instance:registrar:) + 100 (SwiftHereSdkBasePlugin.swift:24)
2 here_sdk 0x104ab380c static SwiftHereSdkPlugin.register(with:) + 96 (SwiftHereSdkPlugin.swift:22)
3 here_sdk 0x104ab3950 @objc static SwiftHereSdkPlugin.register(with:) + 56
4 here_sdk 0x104aad970 +[HereSdkPlugin registerWithRegistrar:] + 72 (HereSdkPlugin.m:25)
5 Runner.debug.dylib 0x10534e1d0 +[GeneratedPluginRegistrant registerWithRegistry:] + 1204 (GeneratedPluginRegistrant.m:226)
6 Runner.debug.dylib 0x10534e694 AppDelegate.application(_:didFinishLaunchingWithOptions:) + 96 (AppDelegate.swift:12)
7 Runner.debug.dylib 0x10534e984 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 196
8 UIKitCore 0x1853e4a40 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 312
9 UIKitCore 0x1853e5ea0 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2788
10 UIKitCore 0x1853ea9e8 -[UIApplication _runWithMainScene:transitionContext:completion:] + 856
11 UIKitCore 0x184a8a8c0 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 104
12 UIKitCore 0x184facbac _UIScenePerformActionsWithLifecycleActionMask + 96
13 UIKitCore 0x184a8b1c0 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 188
14 UIKitCore 0x184a8ad34 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 212
15 UIKitCore 0x184a8b018 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 576
16 UIKitCore 0x184a8aa1c -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 244
17 UIKitCore 0x184a94cf0 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 140
18 UIKitCore 0x184eab690 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 656
19 UIKitCore 0x184fc2dc0 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 196
20 UIKitCore 0x184a949fc -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 288
21 UIKitCore 0x1848f0fa0 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.199 + 608
22 UIKitCore 0x1848efd50 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 208
23 UIKitCore 0x1848f0c24 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 220
24 UIKitCore 0x1853e9708 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 484
25 UIKitCore 0x184ed3000 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 260
26 FrontBoardServices 0x186f2f2e0 -[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:] + 296
27 FrontBoardServices 0x186f593d0 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.82 + 224
28 FrontBoardServices 0x186f3be54 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
29 FrontBoardServices 0x186f59148 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 284
30 libdispatch.dylib 0x180171978 _dispatch_client_callout + 16
31 libdispatch.dylib 0x1801758d8 _dispatch_block_invoke_direct + 380
32 FrontBoardServices 0x186f7cb20 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
33 FrontBoardServices 0x186f7c9fc -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 196
34 FrontBoardServices 0x186f7cb54 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 24
35 CoreFoundation 0x18040ee88 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
36 CoreFoundation 0x18040edd0 __CFRunLoopDoSource0 + 172
37 CoreFoundation 0x18040e540 __CFRunLoopDoSources0 + 232
38 CoreFoundation 0x180408c28 __CFRunLoopRun + 768
39 CoreFoundation 0x180408514 CFRunLoopRunSpecific + 572
40 GraphicsServices 0x18ef06ae4 GSEventRunModal + 160
41 UIKitCore 0x1853e8040 -[UIApplication _run] + 868
42 UIKitCore 0x1853ebcc8 UIApplicationMain + 124
43 UIKitCore 0x18488c1cc 0x1847f9000 + 602572
44 Runner.debug.dylib 0x10534f024 static UIApplicationDelegate.main() + 120
45 Runner.debug.dylib 0x10534ef9c static AppDelegate.$main() + 44
46 Runner.debug.dylib 0x10534f0a0 __debug_main_executable_dylib_entry_point + 28 (AppDelegate.swift:7)
47 dyld_sim 0x1049dd544 start_sim + 20
48 dyld 0x104ada274 start + 2840