fluttercommunity / plus_plugins

Flutter Community Plus Plugins
BSD 3-Clause "New" or "Revised" License
1.61k stars 975 forks source link

[Bug]: Crash on iOS #2912

Open beatman423 opened 6 months ago

beatman423 commented 6 months ago

Platform

iOS 17.3.1

Plugin

connectivity_plus

Version

5.0.2

Flutter SDK

3.19.5

Steps to reproduce

catch error from crash report

Code Sample

No response

Logs

{"_error":"0   libswiftCore.dylib                  0x0000000087abb330 swift_getObjectType + 40
1   connectivity_plus                   0x0000000002832ba4 $s17connectivity_plus27SwiftConnectivityPlusPluginC8register4withySo07FlutterF9Registrar_p_tFZ + 116
2   connectivity_plus                   0x0000000002832ba4 $s17connectivity_plus27SwiftConnectivityPlusPluginC8register4withySo07FlutterF9Registrar_p_tFZ + 116
3   connectivity_plus                   0x0000000002832f1c $s17connectivity_plus27SwiftConnectivityPlusPluginC8register4withySo07FlutterF9Registrar_p_tFZTo + 56
4   connectivity_plus                   0x0000000002830048 +[ConnectivityPlusPlugin registerWithRegistrar:] + 72
5   Runner                              0x0000000000ce80b8 +[GeneratedPluginRegistrant registerWithRegistry:] + 184
6   Runner                              0x0000000000d0a9cc $s6Runner11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0j6LaunchI3KeyaypGSgtF + 1196
7   Runner                              0x0000000000d0aeec $s6Runner11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0j6LaunchI3KeyaypGSgtFTo + 196
8   UIKitCore                           0x00000000906c0620 <redacted> + 320
9   UIKitCore                           0x00000000906bf788 <redacted> + 2856
10  UIKitCore                           0x00000000906be76c <redacted> + 856
11  UIKitCore                           0x00000000906be3b8 <redacted> + 132
12  UIKitCore                           0x000000009063aee0 _UIScenePerformActionsWithLifecycleActionMask + 112
13  UIKitCore                           0x00000000906c23b4 <redacted> + 216
14  UIKitCore                           0x00000000905e9e48 <redacted> + 220
15  UIKitCore                           0x00000000905e88c0 <redacted> + 608
16  UIKitCore                           0x00000000905e8228 <redacted> + 248
17  UIKitCore                           0x00000000905e80f8 <redacted> + 148
18  UIKitCore                           0x00000000905e8000 <redacted> + 736
19  UIKitCore                           0x00000000905e7888 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224
20  UIKitCore                           0x00000000905e7538 <redacted> + 316
21  UIKitCore                           0x000000009096b270 <redacted> + 612
22  UIKitCore                           0x00000000905e66bc <redacted> + 216
23  UIKitCore                           0x00000000905e652c <redacted> + 244
24  UIKitCore                           0x00000000906fec98 <redacted> + 508
25  UIKitCore                           0x00000000906fea30 <redacted> + 288
26  FrontBoardServices                  0x00000000a67396d4 <redacted> + 324
27  FrontBoardServices                  0x00000000a6739570 <redacted> + 280
28  FrontBoardServices                  0x00000000a673819c <redacted> + 168
29  FrontBoardServices                  0x00000000a6743f8c <redacted> + 352
30  libdispatch.dylib                   0x000000009627e300 <redacted> + 20
31  libdispatch.dylib                   0x0000000096281d48 <redacted> + 284
32  FrontBoardServices                  0x00000000a6734520 <redacted> + 52
33  FrontBoardServices                  0x00000000a67344a0 <redacted> + 240
34  FrontBoardServices                  0x00000000a6734378 <redacted> + 28
35  CoreFoundation                      0x000000008e2b90ac <redacted> + 28
36  CoreFoundation                      0x000000008e2b8328 <redacted> + 176
37  CoreFoundation                      0x000000008e2b6b3c <redacted> + 340
38  CoreFoundation                      0x000000008e2b5818 <redacted> + 828
39  CoreFoundation                      0x000000008e2b53f8 CFRunLoopRunSpecific + 608
40  GraphicsServices                    0x00000000d18434f8 GSEventRunModal + 164
41  UIKitCore                           0x00000000906db8a0 <redacted> + 888
42  UIKitCore                           0x00000000906daedc UIApplicationMain + 340
43  Runner                              0x0000000000d0ba20 main + 64
44  dyld                                0x00000000b100adcc <redacted> + 2240","_online":true,"_build_uuid":"daaf217bd7d43d0a8cbab67b91369a97","_images_info":"[
  {
    \"base_addr\" : \"0x100ce0000\",
    \"addr_slide\" : \"0xce0000\",
    \"name\" : \"\\\/private\\\/var\\\/containers\\\/Bundle\\\/Application\\\/7AD88729-F13D-41A9-82B6-34E5EE911BBC\\\/Runner.app\\\/Runner\",
    \"uuid\" : \"daaf217bd7d43d0a8cbab67b91369a97\"
  },
  {
    \"base_addr\" : \"0x10282c000\",
    \"addr_slide\" : \"0x10282c000\",
    \"name\" : \"\\\/private\\\/var\\\/containers\\\/Bundle\\\/Application\\\/7AD88729-F13D-41A9-82B6-34E5EE911BBC\\\/Runner.app\\\/Frameworks\\\/connectivity_plus.framework\\\/connectivity_plus\",
    \"uuid\" : \"128742ac79a1370aab09a1372a7cb3a0\"
  },
  {
    \"base_addr\" : \"0x19627a000\",
    \"addr_slide\" : \"0x6564000\",
    \"name\" : \"\\\/usr\\\/lib\\\/system\\\/libdispatch.dylib\",
    \"uuid\" : \"c49a5fc2c87339139603004f5d0175e7\"
  },
  {
    \"base_addr\" : \"0x18e282000\",
    \"addr_slide\" : \"0x6564000\",
    \"name\" : \"\\\/System\\\/Library\\\/Frameworks\\\/CoreFoundation.framework\\\/CoreFoundation\",
    \"uuid\" : \"5a6c1f41bf7032f6a1d65b894dd21362\"
  },
  {
    \"base_addr\" : \"0x1876be000\",
    \"addr_slide\" : \"0x6564000\",
    \"name\" : \"\\\/usr\\\/lib\\\/swift\\\/libswiftCore.dylib\",
    \"uuid\" : \"496d989cd1d93db8ba7c8f2d16215c1d\"
  },
  {
    \"base_addr\" : \"0x1a672a000\",
    \"addr_slide\" : \"0x6564000\",
    \"name\" : \"\\\/System\\\/Library\\\/PrivateFrameworks\\\/FrontBoardServices.framework\\\/FrontBoardServices\",
    \"uuid\" : \"7bcc46daa0603dde8d57defef66d6d60\"
  },
  {
    \"base_addr\" : \"0x1d1840000\",
    \"addr_slide\" : \"0x6564000\",
    \"name\" : \"\\\/System\\\/Library\\\/PrivateFrameworks\\\/GraphicsServices.framework\\\/GraphicsServices\",
    \"uuid\" : \"ac07ebbed8bc3e55a13a07bb548734d1\"
  },
  {
    \"base_addr\" : \"0x1904af000\",
    \"addr_slide\" : \"0x6564000\",
    \"name\" : \"\\\/System\\\/Library\\\/PrivateFrameworks\\\/UIKitCore.framework\\\/UIKitCore\",
    \"uuid\" : \"2d5384466e403c108a5f559c938077a0\"
  }
]","_ram_total":3824,"_disk_current":28062,"_app_build":"24040201","_ram_used":3141,"_ram_current":1217,"_run":1712126924495,"_nonfatal":true,"_architecture":"arm64e","_background":false,"_executable_name":"Runner","_resolution":"2360x1640","_disk_total":61019,"_cpu_level":0.00004320144653320313,"_orientation":"Unknown","_root":false,"_bat":95}

Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.19.5, on macOS 14.0 23A344 darwin-arm64 (Rosetta), locale zh-Hans-CN)
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/3.1.0/libexec/bin/dart, which is not inside your current Flutter SDK checkout at
      /Users/beatman/dev_tools/flutter. Consider adding /Users/beatman/dev_tools/flutter/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 15.3)
    ! CocoaPods 1.12.1 out of date (1.13.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.89.0)
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for 毕然的iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for 毕然的iPad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for iPhone_wifi . Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

! Doctor found issues in 2 categories.

Checklist before submitting a bug

vbuberen commented 6 months ago

Thanks for reporting. Would be good if you could provide actual steps to reproduce this crash in case you have them.

beatman423 commented 5 months ago

Thanks for reporting. Would be good if you could provide actual steps to reproduce this crash in case you have them.

I can't reproduce this crash, it's from our crash report platform, sorry for this inconvenience

miquelbeltran commented 5 months ago

I'll recommend upgrading to 6.0.x since there were changes in the iOS native implementation.

For what I can see it looks like a crash in https://github.com/fluttercommunity/plus_plugins/blob/c71730e65a0ea59bc177d3dcb2da2abbaa1bcc61/packages/connectivity_plus/connectivity_plus/darwin/Classes/SwiftConnectivityPlusPlugin.swift#L22 or https://github.com/fluttercommunity/plus_plugins/blob/c71730e65a0ea59bc177d3dcb2da2abbaa1bcc61/packages/connectivity_plus/connectivity_plus/darwin/Classes/ConnectivityPlusPlugin.m#L12 but not idea exactly what.

lukehutch commented 5 months ago

I see a very similar crash on app launch with connectivity_plus 6.0.3.

Reproducibility is 100%, but I can't provide the app source unfortunately.

The app launches fine in the VS Code debugger, but if I kill the app and manually launch it from the home screen, it dies immediately after the splash screen opens. This is a debug build.

Flutter 3.22.0-0.3.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 87b652410d (5 weeks ago) • 2024-04-23 21:41:18 -0500
Engine • revision b4bfd45986
Tools • Dart 3.4.0 (build 3.4.0-282.3.beta) • DevTools 2.34.3
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: EB29FC95-1AD8-409E-900D-167FB2A21CC2
CrashReporter Key:   85e6f32ef2edd7748ae22182b469e53e5c047678
Hardware Model:      iPhone12,8
Process:             Runner [8436]
Path:                /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Runner
Identifier:          app.clicksocial
Version:             0.0.1 (18)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           app.clicksocial [688]

Date/Time:           2024-05-28 14:52:08.8726 -0600
Launch Time:         2024-05-28 14:52:07.7455 -0600
OS Version:          iPhone OS 17.4.1 (21E236)
Release Type:        User
Baseband Version:    5.00.00
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: 4378574848
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   104fbc000-105c5c000 [ 12.6M] r-x/r-x SM=COW  /var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Runner
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [8436]

Triggered by Thread:  0

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib                     0x18b58369c swift_getObjectType + 40
1   connectivity_plus                      0x107f32210 static SwiftConnectivityPlusPlugin.register(with:) + 64
2   connectivity_plus                      0x107f325a8 @objc static SwiftConnectivityPlusPlugin.register(with:) + 56
3   connectivity_plus                      0x107f30048 +[ConnectivityPlusPlugin registerWithRegistrar:] + 72
4   Runner                                 0x104fc4074 +[GeneratedPluginRegistrant registerWithRegistry:] + 116
5   Runner                                 0x104fc4a04 AppDelegate.application(_:didFinishLaunchingWithOptions:) + 100
6   Runner                                 0x104fc4e8c @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 196
7   UIKitCore                              0x18ecf9c70 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320
8   UIKitCore                              0x18ecf8dd8 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2856
9   UIKitCore                              0x18ecf7dbc -[UIApplication _runWithMainScene:transitionContext:completion:] + 856
10  UIKitCore                              0x18ecf7a08 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 132
11  UIKitCore                              0x18ec75298 _UIScenePerformActionsWithLifecycleActionMask + 112
12  UIKitCore                              0x18ecfb934 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216
13  UIKitCore                              0x18ec24ac4 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 220
14  UIKitCore                              0x18ec2353c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 608
15  UIKitCore                              0x18ec22ea4 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248
16  UIKitCore                              0x18ec22d74 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 148
17  UIKitCore                              0x18ec22c7c +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736
18  UIKitCore                              0x18ec22504 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224
19  UIKitCore                              0x18ec221b4 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316
20  UIKitCore                              0x18efb2e20 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.226 + 612
21  UIKitCore                              0x18ec21328 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 216
22  UIKitCore                              0x18ec21198 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244
23  UIKitCore                              0x18ed37f74 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 508
24  UIKitCore                              0x18ed37d0c -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 288
25  FrontBoardServices                     0x1a5454644 -[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:] + 324
26  FrontBoardServices                     0x1a54544e0 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.108 + 280
27  FrontBoardServices                     0x1a545310c -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168
28  FrontBoardServices                     0x1a545ebf0 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 352
29  libdispatch.dylib                      0x19476add4 _dispatch_client_callout + 20
30  libdispatch.dylib                      0x19476e86c _dispatch_block_invoke_direct + 288
31  FrontBoardServices                     0x1a544f490 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52
32  FrontBoardServices                     0x1a544f410 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240
33  FrontBoardServices                     0x1a544f2e8 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28
34  CoreFoundation                         0x18c8a562c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
35  CoreFoundation                         0x18c8a48a8 __CFRunLoopDoSource0 + 176
36  CoreFoundation                         0x18c8a3058 __CFRunLoopDoSources0 + 244
37  CoreFoundation                         0x18c8a1d88 __CFRunLoopRun + 828
38  CoreFoundation                         0x18c8a1968 CFRunLoopRunSpecific + 608
39  GraphicsServices                       0x1d0b974e0 GSEventRunModal + 164
40  UIKitCore                              0x18ed14edc -[UIApplication _run] + 888
41  UIKitCore                              0x18ed14518 UIApplicationMain + 340
42  Runner                                 0x104fc5004 main + 64
43  dyld                                   0x1afdc2d84 start + 2240

Thread 1:
0   libsystem_pthread.dylib                0x1e8850fb8 start_wqthread + 0

Thread 2 name:   Dispatch queue: com.apple.UIKit.KeyboardManagement
Thread 2:
0   libsystem_kernel.dylib                 0x1d4dca578 __ulock_wait + 8
1   libdispatch.dylib                      0x19476b7c4 _dlock_wait + 56
2   libdispatch.dylib                      0x19476b578 _dispatch_thread_event_wait_slow + 56
3   libdispatch.dylib                      0x19477a5b0 __DISPATCH_WAIT_FOR_QUEUE__ + 368
4   libdispatch.dylib                      0x19477a15c _dispatch_sync_f_slow + 148
5   UIKitCore                              0x18f79e088 __37-[_UIRemoteKeyboards startConnection]_block_invoke_3 + 144
6   CoreFoundation                         0x18c89fc84 __invoking___ + 148
7   CoreFoundation                         0x18c89f710 -[NSInvocation invoke] + 428
8   Foundation                             0x18b76a698 __NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK__ + 16
9   Foundation                             0x18b76a218 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 520
10  Foundation                             0x18b769b80 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_5 + 188
11  libxpc.dylib                           0x1e88b1ff8 _xpc_connection_reply_callout + 116
12  libxpc.dylib                           0x1e88a47a8 _xpc_connection_call_reply_async + 80
13  libdispatch.dylib                      0x19476ae54 _dispatch_client_callout3 + 20
14  libdispatch.dylib                      0x194788740 _dispatch_mach_msg_async_reply_invoke + 344
15  libdispatch.dylib                      0x194772284 _dispatch_lane_serial_drain + 368
16  libdispatch.dylib                      0x194772f64 _dispatch_lane_invoke + 432
17  libdispatch.dylib                      0x19477dcb4 _dispatch_root_queue_drain_deferred_wlh + 288
18  libdispatch.dylib                      0x19477d528 _dispatch_workloop_worker_thread + 404
19  libsystem_pthread.dylib                0x1e8850f20 _pthread_wqthread + 288
20  libsystem_pthread.dylib                0x1e8850fc0 start_wqthread + 8

Thread 3:
0   libsystem_pthread.dylib                0x1e8850fb8 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib                0x1e8850fb8 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib                0x1e8850fb8 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib                0x1e8850fb8 start_wqthread + 0

Thread 7 name:  com.apple.uikit.eventfetch-thread
Thread 7:
0   libsystem_kernel.dylib                 0x1d4dc9af8 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1d4dc9890 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1d4dc97a8 mach_msg_overwrite + 436
3   libsystem_kernel.dylib                 0x1d4dc95e8 mach_msg + 24
4   CoreFoundation                         0x18c8a401c __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x18c8a1f04 __CFRunLoopRun + 1208
6   CoreFoundation                         0x18c8a1968 CFRunLoopRunSpecific + 608
7   Foundation                             0x18b7304a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8   Foundation                             0x18b75a4e8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9   UIKitCore                              0x18ec77ac8 -[UIEventFetcher threadMain] + 420
10  Foundation                             0x18b7a1a9c __NSThread__start__ + 732
11  libsystem_pthread.dylib                0x1e8851a90 _pthread_start + 136
12  libsystem_pthread.dylib                0x1e8850fcc thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x00000001085b2daa   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000000   x5: 0x0000000000000000   x6: 0x000000016ae41000   x7: 0x0000000000000002
    x8: 0x0000000000000000   x9: 0x0000000000000103  x10: 0x0000000000000000  x11: 0x0000000000000000
   x12: 0x00000001085b2daa  x13: 0x00000000ede00158  x14: 0x00000001edb44000  x15: 0xfffffffe78000000
   x16: 0x000000018b583674  x17: 0x0000000107f32570  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x0000000107f3db60  x21: 0x0000000000000001  x22: 0x0000000000000001  x23: 0x0000000000000000
   x24: 0x0000000000000001  x25: 0x00000001f086a000  x26: 0x00000001ecd83000  x27: 0x000000002b870064
   x28: 0x0000000000000018   fp: 0x000000016ae40e80   lr: 0xef2fe70107f32210
    sp: 0x000000016ae40e70   pc: 0x000000018b58369c cpsr: 0x80000000
   far: 0x0000000000000000  esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
       0x1086a4000 -        0x1086affff libobjc-trampolines.dylib arm64e  <19bc6b58cbf535a583a5fc742451547d> /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib
       0x106f48000 -        0x106f73fff AppAuth arm64  <ab37269ba8013bb98c6e2add34f71daa> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/AppAuth.framework/AppAuth
       0x106fa8000 -        0x106fcbfff AppCheckCore arm64  <7f83225cf91b3b17a0ed7e99a4bb27b1> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/AppCheckCore.framework/AppCheckCore
       0x10717c000 -        0x107213fff DKImagePickerController arm64  <91cac1bea4403976b254fb98b58863b1> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/DKImagePickerController.framework/DKImagePickerController
       0x1072fc000 -        0x10737ffff DKPhotoGallery arm64  <48a228a3ea2834aaa89d5111e6c5bbbd> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/DKPhotoGallery.framework/DKPhotoGallery
       0x107094000 -        0x1070cffff FBAEMKit arm64  <e55752c90d0c3e9dba13de7932eb061b> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FBAEMKit.framework/FBAEMKit
       0x106ee8000 -        0x106efffff FBLPromises arm64  <1ea18400b0513ce596a2f42b31f9b47a> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FBLPromises.framework/FBLPromises
       0x107770000 -        0x1078a3fff FBSDKCoreKit arm64  <67f8cc98e5d236e49d0cd16d437de04d> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit
       0x106f1c000 -        0x106f2bfff FBSDKCoreKit_Basics arm64  <94788cf98a3531349d4e936bfb57ae3e> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics
       0x107524000 -        0x10757bfff FBSDKLoginKit arm64  <3561481ece18397aba26ecd197cc4ce8> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit
       0x106a30000 -        0x106a3ffff FirebaseABTesting arm64  <44ab5f90705b3c8dbbd5560473333942> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseABTesting.framework/FirebaseABTesting
       0x107028000 -        0x107037fff FirebaseAppCheck arm64  <ba5e2aca673933eebca440d04e58364b> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseAppCheck.framework/FirebaseAppCheck
       0x107000000 -        0x107007fff FirebaseAppCheckInterop arm64  <69d4858bbe723b52b8e98b59a95f9580> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop
       0x107aac000 -        0x107b2bfff FirebaseAuth arm64  <2321f586860134fb9dfbca99e04c56b4> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseAuth.framework/FirebaseAuth
       0x107128000 -        0x10713ffff FirebaseCore arm64  <c51140880f5733fc86951b1a4c897843> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseCore.framework/FirebaseCore
       0x107014000 -        0x10701bfff FirebaseCoreExtension arm64  <40ae8dbbb4aa3606b139fad7e9365757> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseCoreExtension.framework/FirebaseCoreExtension
       0x1074ac000 -        0x1074d7fff FirebaseCoreInternal arm64  <440198f6c6c433f297087b09317a3038> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseCoreInternal.framework/FirebaseCoreInternal
       0x107bd0000 -        0x107c43fff FirebaseCrashlytics arm64  <c7284698a9763e4084a2fb3b3603e94c> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseCrashlytics.framework/FirebaseCrashlytics
       0x107614000 -        0x107633fff FirebaseDynamicLinks arm64  <967fe20dd5813887995d6d88648be212> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseDynamicLinks.framework/FirebaseDynamicLinks
       0x107ccc000 -        0x107d27fff FirebaseInAppMessaging arm64  <37e19d7389d73127adb9b3e16d3ea32c> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseInAppMessaging.framework/FirebaseInAppMessaging
       0x10765c000 -        0x10767bfff FirebaseInstallations arm64  <e7d38791b9cb3eaeb3bf96e437243686> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations
       0x107da0000 -        0x107de7fff FirebaseMessaging arm64  <13887a337aa63450957b43d2ee558414> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseMessaging.framework/FirebaseMessaging
       0x107050000 -        0x10705bfff FirebaseRemoteConfigInterop arm64  <47e78ce63caa34f8958a1a3b8358616a> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseRemoteConfigInterop.framework/FirebaseRemoteConfigInterop
       0x107e30000 -        0x107e63fff FirebaseSessions arm64  <ba6ffd22ad7730f99a7f49629060cb10> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/FirebaseSessions.framework/FirebaseSessions
       0x1076a4000 -        0x1076cffff GTMAppAuth arm64  <94a4715dd9b938b8994366f0a0f7b6c0> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/GTMAppAuth.framework/GTMAppAuth
       0x107f58000 -        0x107fabfff GTMSessionFetcher arm64  <a6ddaf7717d33c7d9fca5195244f5f38> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher
       0x107ebc000 -        0x107eeffff GoogleDataTransport arm64  <00778791afcf30d6a46a82906f7c9df1> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/GoogleDataTransport.framework/GoogleDataTransport
       0x107708000 -        0x10772bfff GoogleSignIn arm64  <d5452ff7d8a53783a6016dd5bc5827e3> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/GoogleSignIn.framework/GoogleSignIn
       0x107ff4000 -        0x10801bfff GoogleUtilities arm64  <b0becc8d41c132fc9aaff06ed79817e4> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/GoogleUtilities.framework/GoogleUtilities
       0x108048000 -        0x108063fff Promises arm64  <4a6b2c44d16a38bfb0a4a531c67f9179> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/Promises.framework/Promises
       0x108084000 -        0x1080abfff PurchasesHybridCommon arm64  <b3f94baa14473c02a90cb47c97ef57fd> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/PurchasesHybridCommon.framework/PurchasesHybridCommon
       0x10746c000 -        0x10747ffff PurchasesHybridCommonUI arm64  <5335f3237637389f90cfafd050f543db> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/PurchasesHybridCommonUI.framework/PurchasesHybridCommonUI
       0x107070000 -        0x107077fff RecaptchaInterop arm64  <0b0535d4b9963517b306274ee44b7cc1> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/RecaptchaInterop.framework/RecaptchaInterop
       0x108a18000 -        0x108e3ffff RevenueCat arm64  <092948fa5ca13d31ac98eae6dabac293> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/RevenueCat.framework/RevenueCat
       0x109370000 -        0x10977bfff RevenueCatUI arm64  <2c4e51c5c6b43901be46d63fca2982ab> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/RevenueCatUI.framework/RevenueCatUI
       0x1081e0000 -        0x10825bfff SDWebImage arm64  <dbdf41ffefab38e59c153276c4d78d53> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/SDWebImage.framework/SDWebImage
       0x108128000 -        0x108147fff SwiftyGif arm64  <09d48cbab36b349e9a4348ae2f81b278> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/SwiftyGif.framework/SwiftyGif
       0x1082e0000 -        0x108313fff TOCropViewController arm64  <b3d5ff5aae78348aaf47a33ca1922d26> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/TOCropViewController.framework/TOCropViewController
       0x107160000 -        0x10716bfff Toast arm64  <06c4d9326b3235ad9bba701382b77179> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/Toast.framework/Toast
       0x107f2c000 -        0x107f3bfff connectivity_plus arm64  <5f754f29163f34e0b9af133bd32ce955> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/connectivity_plus.framework/connectivity_plus
       0x1080e0000 -        0x1080effff cupertino_http arm64  <4014da6089f33504be607a46acb36dae> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/cupertino_http.framework/cupertino_http
       0x107438000 -        0x10743ffff desktop_webview_auth arm64  <d324e724fdef3676a8c8434ad3854b01> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/desktop_webview_auth.framework/desktop_webview_auth
       0x107454000 -        0x10745bfff device_info_plus arm64  <6e436f411a57334db3810ddf57e5ccd3> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/device_info_plus.framework/device_info_plus
       0x10819c000 -        0x1081affff file_picker arm64  <42a0e29af17838dfa438c25cf531ee08> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/file_picker.framework/file_picker
       0x108170000 -        0x10817bfff flutter_email_sender arm64  <4703718debe5356082cb8e2dbc699f51> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/flutter_email_sender.framework/flutter_email_sender
       0x108378000 -        0x10838bfff flutter_facebook_auth arm64  <2be35b370cc73637b52e5e6eafc042dc> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/flutter_facebook_auth.framework/flutter_facebook_auth
       0x1083ac000 -        0x1083bffff flutter_image_utilities arm64  <486d466baab2398abf70393a4ff062a1> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/flutter_image_utilities.framework/flutter_image_utilities
       0x107754000 -        0x10775bfff flutter_keyboard_visibility arm64  <8889e77133da38c296c985e855da9729> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/flutter_keyboard_visibility.framework/flutter_keyboard_visibility
       0x108104000 -        0x10810bfff flutter_native_splash arm64  <e6c56a858a15381db9e488baeed625b0> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/flutter_native_splash.framework/flutter_native_splash
       0x1083e0000 -        0x1083f3fff flutter_secure_storage arm64  <b7f1c73055d338f78eb25050408b4056> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/flutter_secure_storage.framework/flutter_secure_storage
       0x1081c8000 -        0x1081cffff fluttertoast arm64  <cd48a421393b33bc833336441e841e6c> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/fluttertoast.framework/fluttertoast
       0x108344000 -        0x10834ffff geocoding_ios arm64  <b365de2301c8314f95d7de16f6d373c7> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/geocoding_ios.framework/geocoding_ios
       0x10843c000 -        0x10844bfff geolocator_apple arm64  <b7898b41ef4d349b8e7c3ad4038a955d> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/geolocator_apple.framework/geolocator_apple
       0x108414000 -        0x10841ffff image_cropper arm64  <461c81a12b8e3bfbae2a8f630a6eb9f8> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/image_cropper.framework/image_cropper
       0x10849c000 -        0x1084b3fff image_picker_ios arm64  <21e0b4e1d07e37bc9b7e185cbb5cf4db> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/image_picker_ios.framework/image_picker_ios
       0x108464000 -        0x10846ffff maps_launcher arm64  <d57669cd1b243087ba083702a7fdedd2> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/maps_launcher.framework/maps_launcher
       0x108484000 -        0x10848ffff nanopb arm64  <43c45db037e53afbb3ba140eb4d190f8> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/nanopb.framework/nanopb
       0x108364000 -        0x10836bfff package_info_plus arm64  <06e74c2e0a1e32f488c384ffa31464f5> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/package_info_plus.framework/package_info_plus
       0x1084f8000 -        0x108507fff path_provider_foundation arm64  <26f2ea20dab331fd87a26ba0d9eac61a> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/path_provider_foundation.framework/path_provider_foundation
       0x108544000 -        0x108553fff purchases_flutter arm64  <add7c18f228830d089dbffe823147549> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/purchases_flutter.framework/purchases_flutter
       0x1085a4000 -        0x1085b7fff purchases_ui_flutter arm64  <503728346f3c3e239ff4f9c56532592f> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/purchases_ui_flutter.framework/purchases_ui_flutter
       0x1084d4000 -        0x1084dffff share_plus arm64  <c0ddf92e0d79369ca72231ea7e0bfc1b> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/share_plus.framework/share_plus
       0x10856c000 -        0x10857bfff shared_preferences_foundation arm64  <601591403c6e3ecc8cdff9f16c98664d> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/shared_preferences_foundation.framework/shared_preferences_foundation
       0x108628000 -        0x10864bfff sqflite arm64  <0ff7a4cd5dbf31e0b2f94e59bb3c5688> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/sqflite.framework/sqflite
       0x108674000 -        0x108687fff url_launcher_ios arm64  <8e9c413c6a7e3b349d2ff6bb0175e78c> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/url_launcher_ios.framework/url_launcher_ios
       0x10c84c000 -        0x10eab3fff Flutter arm64  <4c4c445755553144a18b9e8d9bc98088> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Frameworks/Flutter.framework/Flutter
       0x104fbc000 -        0x105c5bfff Runner arm64  <e1690833af5732d091f60abc60e95c58> /private/var/containers/Bundle/Application/7B913006-58CD-46F2-8AA4-1CDC1EE0E0C1/Runner.app/Runner
       0x18b180000 -        0x18b6cffff libswiftCore.dylib arm64e  <ea723e3d19063daca7e9e108052dfcaa> /usr/lib/swift/libswiftCore.dylib
       0x18eaea000 -        0x1905fafff UIKitCore arm64e  <7bf01cfc23f1326aafd8ad967ffece28> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x1a5445000 -        0x1a550afff FrontBoardServices arm64e  <543cf531604f3a1cacea46c89702f8c1> /System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
       0x194767000 -        0x1947adfff libdispatch.dylib arm64e  <b7d9d0a6241437f29d031a25a474e2cf> /usr/lib/system/libdispatch.dylib
       0x18c86e000 -        0x18cd9bfff CoreFoundation arm64e  <3a5f992ad1cd312ebd2ef7c66343a417> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
       0x1d0b94000 -        0x1d0b9cfff GraphicsServices arm64e  <4cb7e98636bf38018f495d8c3c4a2127> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
       0x1afdbd000 -        0x1afe49be3 dyld arm64e  <7be2b7573b3d3e918cb774f3887660c7> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? unknown-arch  <00000000000000000000000000000000> ???
       0x1e884f000 -        0x1e885bfff libsystem_pthread.dylib arm64e  <a70c0def058c3cb09ec1453aa7f39df9> /usr/lib/system/libsystem_pthread.dylib
       0x1d4dc8000 -        0x1d4e01fef libsystem_kernel.dylib arm64e  <db493af363b132209dd8dd4f86bddfc8> /usr/lib/system/libsystem_kernel.dylib
       0x18b705000 -        0x18c290fff Foundation arm64e  <d92e19c162993e948614c505d5abccdb> /System/Library/Frameworks/Foundation.framework/Foundation
       0x1e8893000 -        0x1e88dafff libxpc.dylib arm64e  <042ea33b3c8f3fb8869c369a3115977c> /usr/lib/system/libxpc.dylib
       0x1ffc7d000 -        0x200015fff SDAPI arm64e  <b266c9c315b931d298161e68f3e7c66b> /System/Library/PrivateFrameworks/SDAPI.framework/SDAPI
lukehutch commented 5 months ago

For what I can see it looks like a crash in

https://github.com/fluttercommunity/plus_plugins/blob/c71730e65a0ea59bc177d3dcb2da2abbaa1bcc61/packages/connectivity_plus/connectivity_plus/darwin/Classes/SwiftConnectivityPlusPlugin.swift#L22

The only thing that can be null and therefore cause a segfault in that method is registrar: FlutterPluginRegistrar. Under what circumstances could the registrar be null?

lukehutch commented 5 months ago

OK, I found the cause:

https://github.com/flutter/flutter/issues/67624#issuecomment-801971172

This was supposed to be mitigated in https://github.com/flutter/engine/pull/20980 by showing an error dialog rather than crashing, if a debug build were launched from the home screen, but that error dialog no longer shows for some reason.

I filed a bug about this:

https://github.com/flutter/flutter/issues/149214

imkmsh commented 2 months ago

In "flutter run" or "flutter run --release", the simulator and real device work fine, but when sending to Testflight, the app crashes with the following error:

[ERROR:flutter/runtime/ptrace_check.cc(75)] Could not call ptrace(PT_TRACE_ME): Operation not permitted
Cannot create a FlutterEngine instance in debug mode without Flutter tooling or Xcode.

To launch in debug mode in iOS 14+, run flutter run from Flutter tools, run from an IDE with a Flutter IDE plugin or run the iOS project from Xcode.
Alternatively profile and release mode apps can be launched from the home screen.

What can I Do?

miquelbeltran commented 2 months ago

@imkmsh your issue is unrelated to the one in the ticket. The error you pasted already tells you what you did wrong.