pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.32k stars 1.64k forks source link

[Crash][iOS] Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value #2368

Closed riskteria closed 3 weeks ago

riskteria commented 1 month ago

Is there an existing issue for this?

Current Behavior

Crash when open app after archiving with debug flag

flutter build ipa --debug -t lib/main.dart --export-method=app-store

But the app went well when:

image

image

Expected Behavior

The app should be open normally without any crashes.

Steps with code example to reproduce

Steps with code example to reproduce ```dart import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; import 'package:url_launcher/url_launcher.dart'; import 'models/main.dart'; const CRISP_BASE_URL = 'https://go.crisp.chat'; String _crispEmbedUrl({ required String websiteId, required String locale, String? userToken, }) { String url = CRISP_BASE_URL + '/chat/embed/?website_id=$websiteId'; url += '&locale=$locale'; if (userToken != null) url += '&token_id=$userToken'; return url; } /// The main widget to provide the view of the chat class CrispView extends StatefulWidget { /// Model with main settings of this chat final CrispMain crispMain; /// Set to true to have all the browser's cache cleared before the new WebView is opened. The default value is false. final bool clearCache; final void Function(String url)? onLinkPressed; ///Set to true to make the background of the WebView transparent. ///If your app has a dark theme, ///this can prevent a white flash on initialization. The default value is false. final bool transparentBackground; @override _CrispViewState createState() => _CrispViewState(); CrispView({ required this.crispMain, this.clearCache = false, this.onLinkPressed, this.transparentBackground = false, }); } class _CrispViewState extends State { InAppWebViewController? _webViewController; String? _javascriptString; late InAppWebViewSettings _settings; @override void initState() { super.initState(); _settings = InAppWebViewSettings( transparentBackground: widget.transparentBackground, cacheEnabled: true, useShouldOverrideUrlLoading: true, mediaPlaybackRequiresUserGesture: false, useHybridComposition: true, cacheMode: CacheMode.LOAD_CACHE_ELSE_NETWORK, allowsInlineMediaPlayback: true, ); _javascriptString = """ var a = setInterval(function(){ if (typeof \$crisp !== 'undefined'){ ${widget.crispMain.commands.join(';\n')} clearInterval(a); } },500); """; widget.crispMain.commands.clear(); } @override Widget build(BuildContext context) { return InAppWebView( gestureRecognizers: Set() ..add( Factory( () => VerticalDragGestureRecognizer(), ), ), initialUrlRequest: URLRequest( url: WebUri(_crispEmbedUrl( websiteId: widget.crispMain.websiteId, locale: widget.crispMain.locale, userToken: widget.crispMain.userToken, )), ), initialSettings: _settings, onWebViewCreated: (InAppWebViewController controller) { _webViewController = controller; }, onLoadStop: (InAppWebViewController controller, WebUri? url) async { await _webViewController?.evaluateJavascript( source: _javascriptString!); }, shouldOverrideUrlLoading: (controller, navigationAction) async { var uri = navigationAction.request.url; var url = uri.toString(); if (uri?.host != 'go.crisp.chat') { if ([ "http", "https", "tel", "mailto", "file", "chrome", "data", "javascript", "about" ].contains(uri?.scheme)) { if (await canLaunch(url)) { if (widget.onLinkPressed != null) widget.onLinkPressed!(url); else { await launch(url); } return NavigationActionPolicy.CANCEL; } } } return NavigationActionPolicy.ALLOW; }, ); } } ```

Stacktrace/Logs

Stacktrace/Logs ``` Incident Identifier: 51042A90-D5D8-4753-A3B9-FDC92C6D9682 Distributor ID: com.apple.TestFlight Hardware Model: iPhone15,3 Process: Runner [86714] Path: /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Runner Identifier: com.dgw.solution.dev Version: 3.1.1 (117) AppStoreTools: 16B39 AppVariant: 1:iPhone15,3:18 Beta: YES Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.dgw.solution.dev [25594] Date/Time: 2024-10-24 09:03:07.1366 +0700 Launch Time: 2024-10-24 09:03:06.6479 +0700 OS Version: iPhone OS 18.0 (22A3354) Release Type: User Baseband Version: 3.02.08 Report Version: 104 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x000000010559fe14 Termination Reason: SIGNAL 5 Trace/BPT trap: 5 Terminating Process: exc handler [86714] Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 flutter_inappwebview_ios 0x000000010559fe14 Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value + 0 (/:0) 1 flutter_inappwebview_ios 0x000000010559fe14 PlatformUtil.init(plugin:) + 0 (PlatformUtil.swift:15) 2 flutter_inappwebview_ios 0x000000010559fe14 specialized PlatformUtil.__allocating_init(plugin:) + 236 (PlatformUtil.swift:17) 3 flutter_inappwebview_ios 0x00000001055ac03c PlatformUtil.__allocating_init(plugin:) + 4 (/:0) 4 flutter_inappwebview_ios 0x00000001055ac03c SwiftFlutterPlugin.init(with:) + 460 5 flutter_inappwebview_ios 0x00000001055ac36c static SwiftFlutterPlugin.register(with:) + 4 (/:0) 6 flutter_inappwebview_ios 0x00000001055ac36c @objc static SwiftFlutterPlugin.register(with:) + 44 7 Runner 0x0000000102df0d60 +[GeneratedPluginRegistrant registerWithRegistry:] + 932 (GeneratedPluginRegistrant.m:222) 8 Runner 0x0000000102df135c AppDelegate.application(_:didFinishLaunchingWithOptions:) + 136 (AppDelegate.swift:12) 9 Runner 0x0000000102df187c @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 196 (/:0) 10 UIKitCore 0x0000000188408f30 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320 (UIApplication.m:2572) 11 UIKitCore 0x0000000188406448 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 3016 (UIApplication.m:3008) 12 UIKitCore 0x00000001882dfcc4 -[UIApplication _runWithMainScene:transitionContext:completion:] + 960 (UIApplication.m:4870) 13 UIKitCore 0x0000000188294e94 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 132 (_UISceneLifecycleMultiplexer.m:452) 14 UIKitCore 0x0000000188196744 _UIScenePerformActionsWithLifecycleActionMask + 112 (_UISceneLifecycleState.m:109) 15 UIKitCore 0x0000000188352f88 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 220 (_UISceneLifecycleMultiplexer.m:568) 16 UIKitCore 0x0000000188352c98 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 216 (_UISceneLifecycleMultiplexer.m:517) 17 UIKitCore 0x00000001880ff08c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 608 (_UISceneLifecycleMultiplexer.m:567) 18 UIKitCore 0x00000001880cd7a0 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248 (_UISceneLifecycleMultiplexer.m:470) 19 UIKitCore 0x00000001880cd0c8 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block... + 148 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:73) 20 UIKitCore 0x00000001880cca48 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736 (BSAnimationSettings+UIKit.m:54) 21 UIKitCore 0x00000001880cc080 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224 (_UISceneSettingsDiffAction.m:27) 22 UIKitCore 0x0000000188197cbc -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:58) 23 UIKitCore 0x00000001881964f4 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.226 + 612 (UIScene.m:2094) 24 UIKitCore 0x0000000188195e44 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 208 (UIScene.m:1753) 25 UIKitCore 0x00000001882556ac -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 (UIScene.m:2053) 26 UIKitCore 0x00000001882520d4 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 456 (UIApplication.m:4311) 27 UIKitCore 0x0000000188251d28 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 288 (UIApplicationSceneClientAgent.m:47) 28 FrontBoardServices 0x000000019ed01a20 __95-[FBSScene _callOutQueue_didCreateWithTransitionContext:alternativeCreationCallout:completion:]_block_invoke + 288 (FBSScene.m:696) 29 FrontBoardServices 0x000000019ed01e10 -[FBSScene _callOutQueue_coalesceClientSettingsUpdates:] + 68 (FBSScene.m:759) 30 FrontBoardServices 0x000000019ed01884 -[FBSScene _callOutQueue_didCreateWithTransitionContext:alternativeCreationCallout:completion:] + 436 (FBSScene.m:683) 31 FrontBoardServices 0x000000019ed20280 __93-[FBSWorkspaceScenesClient _callOutQueue_sendDidCreateForScene:transitionContext:completion:]_block_invoke.197 + 276 (FBSWorkspaceScenesClient.m:700) 32 FrontBoardServices 0x000000019ecdfcfc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 (FBSWorkspace.m:445) 33 FrontBoardServices 0x000000019ed1e89c -[FBSWorkspaceScenesClient _callOutQueue_sendDidCreateForScene:transitionContext:completion:] + 468 (FBSWorkspaceScenesClient.m:697) 34 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 35 libdispatch.dylib 0x000000018d4a9b14 _dispatch_block_invoke_direct + 284 (queue.c:515) 36 FrontBoardServices 0x000000019ece13b8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 (FBSSerialQueue.m:285) 37 FrontBoardServices 0x000000019ece1338 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240 (FBSSerialQueue.m:309) 38 FrontBoardServices 0x000000019ece1210 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:322) 39 CoreFoundation 0x0000000185800088 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1950) 40 CoreFoundation 0x000000018580001c __CFRunLoopDoSource0 + 176 (CFRunLoop.c:1994) 41 CoreFoundation 0x00000001857fdb6c __CFRunLoopDoSources0 + 344 (CFRunLoop.c:2039) 42 CoreFoundation 0x00000001857fcd04 __CFRunLoopRun + 840 (CFRunLoop.c:2949) 43 CoreFoundation 0x00000001857fc5b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414) 44 GraphicsServices 0x00000001d12921c4 GSEventRunModal + 164 (GSEvent.c:2196) 45 UIKitCore 0x00000001883525f0 -[UIApplication _run] + 816 (UIApplication.m:3820) 46 UIKitCore 0x000000018840110c UIApplicationMain + 340 (UIApplication.m:5472) 47 UIKitCore 0x000000018872de50 UIApplicationMain(_:_:_:_:) + 104 (UIKit.swift:565) 48 Runner 0x0000000102df1a20 static UIApplicationDelegate.main() + 120 (/:0) 49 Runner 0x0000000102df1998 static AppDelegate.$main() + 44 (/:0) 50 Runner 0x0000000102df1a9c main + 28 (AppDelegate.swift:7) 51 dyld 0x00000001aafcfd34 start + 2724 (dyldMain.cpp:1334) Thread 1: 0 libsystem_pthread.dylib 0x000000020cb90480 start_wqthread + 0 (:-1) Thread 2 name: Thread 2: 0 libsystem_kernel.dylib 0x00000001d5644cc0 write + 8 (:-1) 1 FirebaseCrashlytics 0x00000001049e6b98 FIRCLSFileLoopWithWriteBlock + 56 (FIRCLSFile.m:244) 2 FirebaseCrashlytics 0x00000001049e6a38 FIRCLSFileWriteWithRetries + 56 (FIRCLSFile.m:281) 3 FirebaseCrashlytics 0x00000001049e6a38 FIRCLSFileWriteToFileDescriptor + 92 (FIRCLSFile.m:219) 4 FirebaseCrashlytics 0x00000001049e6f08 FIRCLSFileWriteCollectionEntryProlog + 28 (FIRCLSFile.m:504) 5 FirebaseCrashlytics 0x00000001049e6f08 FIRCLSFileWriteHashKey + 48 (FIRCLSFile.m:521) 6 FirebaseCrashlytics 0x00000001049e71f4 FIRCLSFileWriteHashEntryString + 24 (FIRCLSFile.m:546) 7 FirebaseCrashlytics 0x00000001049f67e0 -[FIRCLSSerializeSymbolicatedFramesOperation main] + 552 (FIRCLSSerializeSymbolicatedFramesOperation.m:46) 8 Foundation 0x00000001843f8378 __NSOPERATION_IS_INVOKING_MAIN__ + 16 (NSOperation.m:2190) 9 Foundation 0x00000001843f65c8 -[NSOperation start] + 648 (NSOperation.m:1407) 10 FirebaseCrashlytics 0x00000001049f2a6c -[FIRCLSProcessReportOperation symbolicateFile:withResolver:] + 240 (FIRCLSProcessReportOperation.m:98) 11 FirebaseCrashlytics 0x00000001049f2bcc __36-[FIRCLSProcessReportOperation main]_block_invoke + 68 (FIRCLSProcessReportOperation.m:109) 12 FirebaseCrashlytics 0x00000001049ea2bc -[FIRCLSInternalReport enumerateSymbolicatableFilesInContent:] + 200 (FIRCLSInternalReport.m:168) 13 FirebaseCrashlytics 0x00000001049f2b6c -[FIRCLSProcessReportOperation main] + 172 (FIRCLSProcessReportOperation.m:108) 14 Foundation 0x00000001843f8378 __NSOPERATION_IS_INVOKING_MAIN__ + 16 (NSOperation.m:2190) 15 Foundation 0x00000001843f65c8 -[NSOperation start] + 648 (NSOperation.m:1407) 16 FirebaseCrashlytics 0x00000001049f5ef0 __91-[FIRCLSReportUploader prepareAndSubmitReport:dataCollectionToken:asUrgent:withProcessing:]_block_invoke + 456 (FIRCLSReportUploader.m:127) 17 FirebaseCrashlytics 0x00000001049d9210 FIRCLSApplicationActivity + 72 (FIRCLSApplication.m:231) 18 FirebaseCrashlytics 0x00000001049f5ce0 -[FIRCLSReportUploader prepareAndSubmitReport:dataCollectionToken:asUrgent:withProcessing:] + 172 (FIRCLSReportUploader.m:88) 19 FirebaseCrashlytics 0x00000001049e4aa8 -[FIRCLSExistingReportManager processExistingActiveReportPath:dataCollectionToken:asUrgent:] + 152 (FIRCLSExistingReportManager.m:236) 20 FirebaseCrashlytics 0x00000001049e4530 -[FIRCLSExistingReportManager sendUnsentReportsWithToken:asUrgent:] + 184 (FIRCLSExistingReportManager.m:182) 21 FirebaseCrashlytics 0x00000001049f5418 -[FIRCLSReportManager beginReportUploadsWithToken:blockingSend:] + 112 (FIRCLSReportManager.m:409) 22 FirebaseCrashlytics 0x00000001049f4e94 __46-[FIRCLSReportManager startWithProfilingMark:]_block_invoke + 32 (FIRCLSReportManager.m:323) 23 FBLPromises 0x00000001048b1140 __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.18 + 52 (FBLPromise.m:273) 24 libdispatch.dylib 0x000000018d4a4370 _dispatch_call_block_and_release + 32 (init.c:1549) 25 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 26 libdispatch.dylib 0x000000018d4ad7a8 _dispatch_lane_serial_drain + 952 (queue.c:3934) 27 libdispatch.dylib 0x000000018d4ae1e0 _dispatch_lane_invoke + 380 (queue.c:4025) 28 libdispatch.dylib 0x000000018d4b9258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 29 libdispatch.dylib 0x000000018d4b8aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 30 libsystem_pthread.dylib 0x000000020cb93c7c _pthread_wqthread + 288 (pthread.c:2696) 31 libsystem_pthread.dylib 0x000000020cb90488 start_wqthread + 8 (:-1) Thread 3 name: Thread 3: 0 libsystem_kernel.dylib 0x00000001d5646b70 __ulock_wait + 8 (:-1) 1 libdispatch.dylib 0x000000018d4a6ac0 _dlock_wait + 56 (lock.c:326) 2 libdispatch.dylib 0x000000018d4a6874 _dispatch_thread_event_wait_slow + 56 (lock.c:558) 3 libdispatch.dylib 0x000000018d4b5a3c __DISPATCH_WAIT_FOR_QUEUE__ + 368 (queue.c:1702) 4 libdispatch.dylib 0x000000018d4b55e8 _dispatch_sync_f_slow + 148 (queue.c:1799) 5 AXCoreUtilities 0x00000001925ce338 AXPerformBlockSynchronouslyOnMainThread + 84 6 libdispatch.dylib 0x000000018d4a4370 _dispatch_call_block_and_release + 32 (init.c:1549) 7 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 8 libdispatch.dylib 0x000000018d4a9218 _dispatch_queue_override_invoke + 916 (queue.c:5101) 9 libdispatch.dylib 0x000000018d4b7d8c _dispatch_root_queue_drain + 392 (queue.c:7331) 10 libdispatch.dylib 0x000000018d4b8590 _dispatch_worker_thread2 + 156 (queue.c:7399) 11 libsystem_pthread.dylib 0x000000020cb93c40 _pthread_wqthread + 228 (pthread.c:2709) 12 libsystem_pthread.dylib 0x000000020cb90488 start_wqthread + 8 (:-1) Thread 4: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 fast_rsa 0x0000000105107058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 fast_rsa 0x00000001051059c8 runtime.asmcgocall.abi0 + 200 Thread 5: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 Runner 0x0000000102cb3058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 Runner 0x0000000102cb19c8 runtime.asmcgocall.abi0 + 200 Thread 6 name: Thread 6: 0 CoreFoundation 0x00000001857b6050 ___CFBasicHashFindBucket_Linear + 280 (CFBasicHashFindBucket.m:136) 1 CoreFoundation 0x00000001857b5e1c CFDictionaryGetValueIfPresent + 112 (CFDictionary.c:275) 2 Foundation 0x0000000184465090 _NSResolveSymlinksInPathUsingCache + 608 (NSPathUtilities.m:520) 3 Foundation 0x0000000184449a6c -[NSPathStore2 _stringByResolvingSymlinksInPathUsingCache:] + 140 (NSPathUtilities.m:1136) 4 Foundation 0x0000000184447a20 -[NSBundle initWithPath:] + 196 (NSBundle.m:1003) 5 Foundation 0x00000001844499c4 +[NSBundle bundleWithPath:] + 32 (NSBundle.m:896) 6 FirebaseCrashlytics 0x00000001049da8b0 FIRCLSBinaryImageRecordLibraryFrameworkInfo + 112 (FIRCLSBinaryImage.m:536) 7 FirebaseCrashlytics 0x00000001049da8b0 FIRCLSBinaryImageRecordSlice + 220 (FIRCLSBinaryImage.m:568) 8 FirebaseCrashlytics 0x00000001049da8b0 FIRCLSProcessBinaryImageChange + 660 (FIRCLSBinaryImage.m:396) 9 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 10 libdispatch.dylib 0x000000018d4ad6d8 _dispatch_lane_serial_drain + 744 (queue.c:3934) 11 libdispatch.dylib 0x000000018d4ae1e0 _dispatch_lane_invoke + 380 (queue.c:4025) 12 libdispatch.dylib 0x000000018d4b9258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 13 libdispatch.dylib 0x000000018d4b8aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 14 libsystem_pthread.dylib 0x000000020cb93c7c _pthread_wqthread + 288 (pthread.c:2696) 15 libsystem_pthread.dylib 0x000000020cb90488 start_wqthread + 8 (:-1) Thread 7: 0 libsystem_pthread.dylib 0x000000020cb90480 start_wqthread + 0 (:-1) Thread 8 name: Thread 8: 0 libsystem_kernel.dylib 0x00000001d5640728 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001d5643e38 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001d5643d50 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001d5643b9c mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x00000001857fd7cc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2617) 5 CoreFoundation 0x00000001857fce78 __CFRunLoopRun + 1212 (CFRunLoop.c:3001) 6 CoreFoundation 0x00000001857fc5b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414) 7 Foundation 0x0000000184492f00 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373) 8 Foundation 0x0000000184492d50 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420) 9 UIKitCore 0x0000000188365a44 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1212) 10 Foundation 0x00000001844a4058 __NSThread__start__ + 724 (NSThread.m:991) 11 libsystem_pthread.dylib 0x000000020cb9537c _pthread_start + 136 (pthread.c:931) 12 libsystem_pthread.dylib 0x000000020cb90494 thread_start + 8 (:-1) Thread 9 name: Thread 9: 0 libsystem_kernel.dylib 0x00000001d5646b70 __ulock_wait + 8 (:-1) 1 libdispatch.dylib 0x000000018d4a6ac0 _dlock_wait + 56 (lock.c:326) 2 libdispatch.dylib 0x000000018d4a6874 _dispatch_thread_event_wait_slow + 56 (lock.c:558) 3 libdispatch.dylib 0x000000018d4b5a3c __DISPATCH_WAIT_FOR_QUEUE__ + 368 (queue.c:1702) 4 libdispatch.dylib 0x000000018d4b55e8 _dispatch_sync_f_slow + 148 (queue.c:1799) 5 UIKitCore 0x0000000188384b8c __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 144 (_UIRemoteKeyboards.m:1216) 6 CoreFoundation 0x00000001857ca0f4 __invoking___ + 148 7 CoreFoundation 0x00000001857c9144 -[NSInvocation invoke] + 428 (NSForwarding.m:3411) 8 Foundation 0x0000000184487438 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT__ + 16 (NSXPCConnection.m:170) 9 Foundation 0x0000000184485bb0 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 532 (NSXPCConnection.m:313) 10 Foundation 0x0000000184489974 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188 (NSXPCConnection.m:1657) 11 libxpc.dylib 0x000000020cbf9cb0 _xpc_connection_reply_callout + 116 (serializer.c:119) 12 libxpc.dylib 0x000000020cbec400 _xpc_connection_call_reply_async + 80 (connection.c:894) 13 libdispatch.dylib 0x000000018d4a6150 _dispatch_client_callout3 + 20 (object.m:602) 14 libdispatch.dylib 0x000000018d4c3b2c _dispatch_mach_msg_async_reply_invoke + 340 (mach.c:3102) 15 libdispatch.dylib 0x000000018d4ad560 _dispatch_lane_serial_drain + 368 (queue.c:3934) 16 libdispatch.dylib 0x000000018d4ae214 _dispatch_lane_invoke + 432 (queue.c:4025) 17 libdispatch.dylib 0x000000018d4b9258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 18 libdispatch.dylib 0x000000018d4b8aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 19 libsystem_pthread.dylib 0x000000020cb93c7c _pthread_wqthread + 288 (pthread.c:2696) 20 libsystem_pthread.dylib 0x000000020cb90488 start_wqthread + 8 (:-1) Thread 10: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a7c _pthread_cond_wait + 1248 (pthread_cond.c:862) 2 Runner 0x0000000102cb308c runtime.pthread_cond_timedwait_relative_np_trampoline.abi0 + 28 3 Runner 0x0000000102cb19c8 runtime.asmcgocall.abi0 + 200 Thread 11: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 Runner 0x0000000102cb3058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 Runner 0x0000000102cb19c8 runtime.asmcgocall.abi0 + 200 Thread 12: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 Runner 0x0000000102cb3058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 Runner 0x0000000102cb19c8 runtime.asmcgocall.abi0 + 200 Thread 13: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 Runner 0x0000000102cb3058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 Runner 0x0000000102cb19c9 runtime.asmcgocall.abi0 + 201 Thread 14 name: Thread 14: 0 libsystem_kernel.dylib 0x00000001d564605c lstat + 8 (:-1) 1 Foundation 0x00000001844650cc _NSResolveSymlinksInPathUsingCache + 668 (NSPathUtilities.m:535) 2 Foundation 0x0000000184462fa4 -[NSString(NSPathUtilities) _stringByResolvingSymlinksInPathUsingCache:] + 128 (NSPathUtilities.m:1360) 3 Foundation 0x00000001843f9f28 _NSFrameworkPathFromLibraryPath + 52 (NSBundle.m:531) 4 Foundation 0x0000000184be3e08 __25+[NSBundle allFrameworks]_block_invoke + 228 (NSBundle.m:1445) 5 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 6 libdispatch.dylib 0x000000018d4a7918 _dispatch_once_callout + 32 (once.c:52) 7 Foundation 0x0000000184be3d20 +[NSBundle allFrameworks] + 84 (NSBundle.m:1444) 8 AXCoreUtilities 0x00000001925ea858 __43-[AXBinaryMonitor evaluateExistingBinaries]_block_invoke + 96 9 libdispatch.dylib 0x000000018d4a4370 _dispatch_call_block_and_release + 32 (init.c:1549) 10 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 11 libdispatch.dylib 0x000000018d4ad6d8 _dispatch_lane_serial_drain + 744 (queue.c:3934) 12 libdispatch.dylib 0x000000018d4ae214 _dispatch_lane_invoke + 432 (queue.c:4025) 13 libdispatch.dylib 0x000000018d4b9258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 14 libdispatch.dylib 0x000000018d4b8aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 15 libsystem_pthread.dylib 0x000000020cb93c7c _pthread_wqthread + 288 (pthread.c:2696) 16 libsystem_pthread.dylib 0x000000020cb90488 start_wqthread + 8 (:-1) Thread 15: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 Runner 0x0000000102cb3058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 Runner 0x0000000102cb19c8 runtime.asmcgocall.abi0 + 200 Thread 16: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a7c _pthread_cond_wait + 1248 (pthread_cond.c:862) 2 fast_rsa 0x000000010510708c runtime.pthread_cond_timedwait_relative_np_trampoline.abi0 + 28 3 fast_rsa 0x00000001051059c8 runtime.asmcgocall.abi0 + 200 Thread 17: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 fast_rsa 0x0000000105107058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 fast_rsa 0x00000001051059c8 runtime.asmcgocall.abi0 + 200 Thread 18: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 fast_rsa 0x0000000105107058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 fast_rsa 0x00000001051059c8 runtime.asmcgocall.abi0 + 200 Thread 19: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 fast_rsa 0x0000000105107058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 fast_rsa 0x00000001051059c8 runtime.asmcgocall.abi0 + 200 Thread 20: 0 libsystem_kernel.dylib 0x00000001d5646030 __psynch_cvwait + 8 (:-1) 1 libsystem_pthread.dylib 0x000000020cb92a50 _pthread_cond_wait + 1204 (pthread_cond.c:862) 2 fast_rsa 0x0000000105107058 runtime.pthread_cond_wait_trampoline.abi0 + 24 3 fast_rsa 0x00000001051059c8 runtime.asmcgocall.abi0 + 200 Thread 21: 0 libsystem_pthread.dylib 0x000000020cb90480 start_wqthread + 0 (:-1) Thread 22: 0 libsystem_pthread.dylib 0x000000020cb90480 start_wqthread + 0 (:-1) Thread 23 name: Thread 23: 0 libsystem_kernel.dylib 0x00000001d5644cc0 write + 8 (:-1) 1 FirebaseCrashlytics 0x00000001049e99e4 FIRCLSSDKFileLog + 316 (FIRCLSInternalLogging.c:0) 2 FirebaseCrashlytics 0x00000001049eb610 FIRCLSMachExceptionReply + 128 (FIRCLSMachException.c:265) 3 FirebaseCrashlytics 0x00000001049eb610 FIRCLSMachExceptionServer + 972 (FIRCLSMachException.c:176) 4 libsystem_pthread.dylib 0x000000020cb9537c _pthread_start + 136 (pthread.c:931) 5 libsystem_pthread.dylib 0x000000020cb90494 thread_start + 8 (:-1) Thread 24 name: Thread 24: 0 libsystem_kernel.dylib 0x00000001d5646b70 __ulock_wait + 8 (:-1) 1 libdispatch.dylib 0x000000018d4a6ac0 _dlock_wait + 56 (lock.c:326) 2 libdispatch.dylib 0x000000018d4a6874 _dispatch_thread_event_wait_slow + 56 (lock.c:558) 3 libdispatch.dylib 0x000000018d4b5a3c __DISPATCH_WAIT_FOR_QUEUE__ + 368 (queue.c:1702) 4 libdispatch.dylib 0x000000018d4b55e8 _dispatch_sync_f_slow + 148 (queue.c:1799) 5 FirebaseInAppMessaging 0x0000000104b302c4 __44+[FIRIAMActionURLFollower actionURLFollower]_block_invoke + 644 (FIRIAMActionURLFollower.m:77) 6 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 7 libdispatch.dylib 0x000000018d4a7918 _dispatch_once_callout + 32 (once.c:52) 8 FirebaseInAppMessaging 0x0000000104b3003c _dispatch_once + 20 (once.h:85) 9 FirebaseInAppMessaging 0x0000000104b3003c +[FIRIAMActionURLFollower actionURLFollower] + 60 (FIRIAMActionURLFollower.m:44) 10 FirebaseInAppMessaging 0x0000000104b48290 -[FIRIAMRuntimeManager internalStartRuntimeWithSDKSettings:] + 1620 (FIRIAMRuntimeManager.m:330) 11 libdispatch.dylib 0x000000018d4a4370 _dispatch_call_block_and_release + 32 (init.c:1549) 12 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 13 libdispatch.dylib 0x000000018d4a9218 _dispatch_queue_override_invoke + 916 (queue.c:5101) 14 libdispatch.dylib 0x000000018d4b7d8c _dispatch_root_queue_drain + 392 (queue.c:7331) 15 libdispatch.dylib 0x000000018d4b8590 _dispatch_worker_thread2 + 156 (queue.c:7399) 16 libsystem_pthread.dylib 0x000000020cb93c40 _pthread_wqthread + 228 (pthread.c:2709) 17 libsystem_pthread.dylib 0x000000020cb90488 start_wqthread + 8 (:-1) Thread 25 name: Thread 25: 0 Network 0x0000000185d92c68 nw_endpoint_flow_attach_protocols(NWConcrete_nw_endpoint_handler*, nw_protocol*, nw_protocol*) + 1828 (endpoint_flow.cpp:1861) 1 Network 0x000000018686a058 nw_endpoint_flow_setup_protocols(NWConcrete_nw_endpoint_handler*, nw_protocol*, nw_protocol*, bool, bool) + 3548 (endpoint_flow.cpp:4115) 2 Network 0x0000000185edcba0 nw_endpoint_flow_setup_channel(NWConcrete_nw_endpoint_handler*) + 1000 (endpoint_flow.cpp:4446) 3 Network 0x0000000185da78c4 -[NWConcrete_nw_endpoint_flow updatePathWithHandler:] + 2812 (endpoint_flow.cpp:541) 4 Network 0x0000000185e057f4 nw_endpoint_handler_path_change(NWConcrete_nw_endpoint_handler*) + 12420 (endpoint_handler.cpp:2340) 5 Network 0x0000000185d3fde4 __nw_endpoint_handler_initialize_association_block_invoke + 132 (endpoint_handler.cpp:1046) 6 Network 0x00000001868f3fa4 invocation function for block in nw_association_update_paths(NWConcrete_nw_association*, NSObject*) + 100 (association.cpp:356) 7 Network 0x0000000185d3bf2c nw_hash_table_apply + 3028 (hash_table.cpp:491) 8 Network 0x00000001868f32c0 nw_association_update_paths(NWConcrete_nw_association*, NSObject*) + 476 (association.cpp:351) 9 Network 0x0000000186774088 nw_path_necp_update_evaluator(NWConcrete_nw_path_evaluator*, unsigned char const*, unsigned long, bool) + 1556 (path_evaluation.cpp:1387) 10 Network 0x0000000186771e48 nw_path_necp_check_for_updates(NSObject*, unsigned char (*) [16], unsigned int) + 2920 (path_evaluation.cpp:1508) 11 Network 0x0000000185ddb160 nw_path_evaluator_force_update + 116 (path_evaluation.cpp:6751) 12 Network 0x0000000185dda2d0 nw_association_force_update + 96 (association.cpp:661) 13 Network 0x0000000185edcfc0 nw_endpoint_flow_setup_channel(NWConcrete_nw_endpoint_handler*) + 2056 (endpoint_flow.cpp:4472) 14 Network 0x0000000185e11ed0 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 5748 (endpoint_flow.cpp:340) 15 Network 0x0000000185e05364 nw_endpoint_handler_path_change(NWConcrete_nw_endpoint_handler*) + 11252 (endpoint_handler.cpp:2299) 16 Network 0x0000000185cf1f48 nw_endpoint_handler_start + 1180 (endpoint_handler.cpp:1099) 17 Network 0x0000000185ed42d4 nw_endpoint_resolver_start_next_child(NWConcrete_nw_endpoint_handler*) + 3272 (endpoint_resolver.cpp:790) 18 libdispatch.dylib 0x000000018d4a4370 _dispatch_call_block_and_release + 32 (init.c:1549) 19 libdispatch.dylib 0x000000018d4a60d0 _dispatch_client_callout + 20 (object.m:576) 20 libdispatch.dylib 0x000000018d4af7f8 _dispatch_workloop_invoke + 2124 (queue.c:4704) 21 libdispatch.dylib 0x000000018d4b9258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 22 libdispatch.dylib 0x000000018d4b8aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 23 libsystem_pthread.dylib 0x000000020cb93c7c _pthread_wqthread + 288 (pthread.c:2696) 24 libsystem_pthread.dylib 0x000000020cb90488 start_wqthread + 8 (:-1) Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000100 x2: 0x0000000000000020 x3: 0x0000040000000000 x4: 0x0000000000000004 x5: 0x00000000e92807fb x6: 0x0000000069400000 x7: 0x0000000000003fff x8: 0x0000000000000008 x9: 0x0100000000000001 x10: 0x0000000303038000 x11: 0x0000000000001fe0 x12: 0x0000000000000020 x13: 0x0000000000000001 x14: 0x00000000fffffeff x15: 0x00000000000007fb x16: 0x6ae1000303039fe0 x17: 0x000000010562a3c0 x18: 0x0000000000000000 x19: 0x00000003001694a0 x20: 0x0000000303039fe0 x21: 0x0000000105631000 x22: 0x00000003001694a0 x23: 0x0000000302552040 x24: 0x0000000105630000 x25: 0x0000000105631000 x26: 0x0000000105631000 x27: 0x0000000105623000 x28: 0x0000000105631000 fp: 0x000000016d1b8c00 lr: 0xdc4380010559fd48 sp: 0x000000016d1b8bd0 pc: 0x000000010559fe14 cpsr: 0x60001000 esr: 0xf2000001 (Breakpoint) brk 1 Binary Images: 0x102c44000 - 0x1039d7fff Runner arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Runner 0x1048ac000 - 0x1048bbfff FBLPromises arm64 <5548451fa83c32eca1631a27a6d34d75> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FBLPromises.framework/FBLPromises 0x1048dc000 - 0x1048e7fff FirebaseABTesting arm64 <4d0c9f5b065331b7b3ffd2f635c77aff> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseABTesting.framework/FirebaseABTesting 0x104900000 - 0x104907fff FirebaseAppCheckInterop arm64 <133fad0cd8b838b9842369503beab88f> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop 0x104918000 - 0x10491ffff FirebaseAuthInterop arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseAuthInterop.framework/FirebaseAuthInterop 0x104930000 - 0x104943fff FirebaseCore arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseCore.framework/FirebaseCore 0x104964000 - 0x10496bfff FirebaseCoreExtension arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseCoreExtension.framework/FirebaseCoreExtension 0x10497c000 - 0x104997fff FirebaseCoreInternal arm64 <334c07711d653f8a9b82a4f668f71ed5> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseCoreInternal.framework/FirebaseCoreInternal 0x1049d4000 - 0x104a1bfff FirebaseCrashlytics arm64 <6786cf9e76d23db798324ddab0e1dbd9> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseCrashlytics.framework/FirebaseCrashlytics 0x104a88000 - 0x104a8ffff cupertino_http arm64 <476af1275c7539c3a68ee9809c45c2f8> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/cupertino_http.framework/cupertino_http 0x104b2c000 - 0x104b6bfff FirebaseInAppMessaging arm64 <59aa65cd45e13c339d7d36920d022d88> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseInAppMessaging.framework/FirebaseInAppMessaging 0x104bd8000 - 0x104beffff FirebaseInstallations arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations 0x104c18000 - 0x104c4bfff FirebaseMessaging arm64 <07bc152c845630259bac87e9b5f7e3bb> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseMessaging.framework/FirebaseMessaging 0x104c98000 - 0x104cc3fff FirebaseRemoteConfig arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseRemoteConfig.framework/FirebaseRemoteConfig 0x104d08000 - 0x104d23fff FirebaseSessions arm64 <5207b766d2ad39e1ac3f07e3079f0df8> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseSessions.framework/FirebaseSessions 0x104d60000 - 0x104d8ffff FirebaseSharedSwift arm64 <32d91d1d682a335c9f6ef59d5878dc8e> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseSharedSwift.framework/FirebaseSharedSwift 0x104de4000 - 0x104e23fff FirebaseStorage arm64 <29fd14ef09c13953a13a8ee6ea6d835d> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/FirebaseStorage.framework/FirebaseStorage 0x104e90000 - 0x104ebbfff GTMSessionFetcher arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher 0x104ef8000 - 0x104f1ffff GoogleDataTransport arm64 <17dfdeb3f1513e4099a9d9b3393a3bbc> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/GoogleDataTransport.framework/GoogleDataTransport 0x104f5c000 - 0x104f7bfff GoogleUtilities arm64 <891565ab5d9b35549dbab8b535688ed5> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/GoogleUtilities.framework/GoogleUtilities 0x104fa8000 - 0x104fb3fff MTBBarcodeScanner arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/MTBBarcodeScanner.framework/MTBBarcodeScanner 0x104fcc000 - 0x104fd7fff OrderedSet arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/OrderedSet.framework/OrderedSet 0x104ff4000 - 0x105007fff Promises arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/Promises.framework/Promises 0x10502c000 - 0x10504bfff camera_avfoundation arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/camera_avfoundation.framework/camera_avfoundation 0x105080000 - 0x105087fff device_info_plus arm64 <096b4aa40e0e3e7f84a4c3f5d3ff1067> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/device_info_plus.framework/device_info_plus 0x105098000 - 0x1052b3fff fast_rsa arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/fast_rsa.framework/fast_rsa 0x105514000 - 0x10551bfff flutter_config arm64 <73752df73541368dbc8fb3406ff3191a> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/flutter_config.framework/flutter_config 0x10552c000 - 0x105613fff flutter_inappwebview_ios arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/flutter_inappwebview_ios.framework/flutter_inappwebview_ios 0x105780000 - 0x10578ffff flutter_local_notifications arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/flutter_local_notifications.framework/flutter_local_notifications 0x1057a8000 - 0x1057affff flutter_native_splash arm64 <010eb5d5e1a03390b13ad2e2450c3dd0> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/flutter_native_splash.framework/flutter_native_splash 0x1057c0000 - 0x1057cffff flutter_secure_storage arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/flutter_secure_storage.framework/flutter_secure_storage 0x1057ec000 - 0x1057f3fff geocoding_ios arm64 <5cf708936e953de4ad3719ba50c4d87e> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/geocoding_ios.framework/geocoding_ios 0x105808000 - 0x105813fff geolocator_apple arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/geolocator_apple.framework/geolocator_apple 0x105830000 - 0x105843fff image_picker_ios arm64 <6fe52f7194603239990c711410f225d9> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/image_picker_ios.framework/image_picker_ios 0x105864000 - 0x10586bfff nanopb arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/nanopb.framework/nanopb 0x10587c000 - 0x105883fff network_info_plus arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/network_info_plus.framework/network_info_plus 0x105898000 - 0x10589ffff package_info_plus arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/package_info_plus.framework/package_info_plus 0x1058b0000 - 0x1058bbfff path_provider_foundation arm64 <5bbd2d2a16dc32928a1248c2914c6eea> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/path_provider_foundation.framework/path_provider_foundation 0x1058d0000 - 0x1058dffff qr_code_scanner arm64 <0ffc536420493a0aa5a6a933704ea2cb> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/qr_code_scanner.framework/qr_code_scanner 0x105900000 - 0x10590bfff sensors_plus arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/sensors_plus.framework/sensors_plus 0x105928000 - 0x10592ffff share arm64 <4c6913b31d7738beb5590e02da98828c> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/share.framework/share 0x105944000 - 0x10594ffff share_plus arm64 <33b95192544f317aab88234170c0e15a> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/share_plus.framework/share_plus 0x105964000 - 0x105977fff shared_preferences_foundation arm64 <7d6d4c6f0be73eb4a5bb0dc91788b088> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/shared_preferences_foundation.framework/shared_preferences_foundation 0x105998000 - 0x1059b3fff sqflite_darwin arm64 <9e927736743834659b6cc205e515f6b2> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/sqflite_darwin.framework/sqflite_darwin 0x1059dc000 - 0x1059e3fff uni_links arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/uni_links.framework/uni_links 0x1059f4000 - 0x1059fffff url_launcher_ios arm64 <71e92f8622c331a682c20a91eb72375f> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/url_launcher_ios.framework/url_launcher_ios 0x105a1c000 - 0x105a4bfff webview_flutter_wkwebview arm64 /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/webview_flutter_wkwebview.framework/webview_flutter_wkwebview 0x105aa4000 - 0x107d1ffff Flutter arm64 <4c4c44b755553144a1d84e7b0a419098> /private/var/containers/Bundle/Application/FD4E895E-E4CC-49F6-8789-DA7606D01FD5/Runner.app/Frameworks/Flutter.framework/Flutter 0x10c280000 - 0x10c28bfff libobjc-trampolines.dylib arm64e /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib 0x10c82c000 - 0x10c83ffff GAXClient arm64e /System/Library/AccessibilityBundles/GAXClient.bundle/GAXClient 0x1843dc000 - 0x1850fafff Foundation arm64e <12e17a7ab65f35ee82d7cbc31004e223> /System/Library/Frameworks/Foundation.framework/Foundation 0x1857a9000 - 0x185ceefff CoreFoundation arm64e <47427277ee153c17ad686886b0380b5e> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x185cef000 - 0x186c76fff Network arm64e <050243fb018c39da987cdcd558ccb8d7> /System/Library/Frameworks/Network.framework/Network 0x187f74000 - 0x189e34fff UIKitCore arm64e <5bd027b10ec935fdb9f06288a525693a> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x18d4a2000 - 0x18d4e7fff libdispatch.dylib arm64e /usr/lib/system/libdispatch.dylib 0x1925c9000 - 0x192681fff AXCoreUtilities arm64e <90367ae3ee9739e49087a8089149fd2a> /System/Library/PrivateFrameworks/AXCoreUtilities.framework/AXCoreUtilities 0x19eccb000 - 0x19ed9dfff FrontBoardServices arm64e <7e30829dd45e3c1aa05312ca1633cf36> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1aaf9c000 - 0x1ab01f693 dyld arm64e <77c1eed22ed7396aba34e770120d81d4> /usr/lib/dyld 0x1d1291000 - 0x1d1299fff GraphicsServices arm64e <227122eb72fd3ecb9f66986addd8e048> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1d563f000 - 0x1d5678ffb libsystem_kernel.dylib arm64e <8d929b3bd4d639bfadbbbe59e928b332> /usr/lib/system/libsystem_kernel.dylib 0x20cae0000 - 0x20cae7fe3 libsystem_platform.dylib arm64e /usr/lib/system/libsystem_platform.dylib 0x20cb8f000 - 0x20cb9bff3 libsystem_pthread.dylib arm64e /usr/lib/system/libsystem_pthread.dylib 0x20cbda000 - 0x20cc21fff libxpc.dylib arm64e <6e0a4093fa26301f800d35bff83e79a0> /usr/lib/system/libxpc.dylib EOF ```

Flutter version

Flutter 3.24.0 • Dart 3.5.0 • DevTools 2.37.2

Operating System, Device-specific and/or Tool

Plugin version

v6.1.5

Additional information

No response

Self grab

markokosticdev commented 1 month ago

Is there any update about this bug, I get the same

pichillilorenzo commented 4 weeks ago

I'm not able to run flutter build ipa --debug and install the IPA to my device as it requires an Apple Developer Account.

However, it doesn't make any sense to me as the registrar is always initialized and cannot be nil on native code, as it is required for all plugins in general to work inside Flutter.

As you can see: https://github.com/pichillilorenzo/flutter_inappwebview/blob/c7de95b76c197f813513e6a818c281e4bd5bb0d6/flutter_inappwebview_ios/ios/Classes/SwiftFlutterPlugin.swift#L42-L49

registrar is of type FlutterPluginRegistrar which is not nil, so it can't be an optional value at all, and it is always initialized self.registrar = registrar before using it inside all the other components of this plugin.

I could add a check about it inside the specific initialization component, such as PlatformUtil but anyway the plugin will not work.  

pichillilorenzo commented 3 weeks ago

Released new version 6.2.0-beta.1. In this new version, I forced self.registrar to be non-nullable, but it already had to work that way. Let me know if the issue persists, in that case, it could be something related to Flutter itself.

github-actions[bot] commented 1 week ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.