最新flutter 3.32.6 使用iOS混合开发,跳转到flutter页面一直报这个警告
来源:11-12 Flutter与Native通信-iOS端实战【实战应用】

慕神5254388
8天前
最新flutter 3.32.6 使用iOS混合开发,跳转到flutter页面一直报这个警告
Backtrace
3 Flutter 0x00000001045ca1cc _ZN3fml9Semaphore7TryWaitEv + 28
4 Flutter 0x00000001049a61ec _ZN7flutter8PipelineINS_9FrameItemEE7ProduceEv + 44
5 Flutter 0x00000001049a60e8 _ZN7flutter8Animator10BeginFrameENSt3_fl10unique_ptrINS_20FrameTimingsRecorderENS1_14default_deleteIS3_EEEE + 412
6 Flutter 0x00000001049a9408 _ZNSt3_fl10__function6__funcIZN7flutter8Animator10AwaitVSyncEvE3KaTeX parse error: Expected group after '_' at position 179: …af0 _ZNSt3_fl10_̲_function6__fun…_0NS_9allocatorIS6_EEFvvEEclEv + 120
8 Flutter 0x00000001045c78e4 _ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 156
9 Flutter 0x00000001045ce308 ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0 + 32
10 CoreFoundation 0x00000001803f2618 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 28
11 CoreFoundation 0x00000001803f22d4 __CFRunLoopDoTimer + 948
12 CoreFoundation 0x00000001803f1970 __CFRunLoopDoTimers + 284
13 CoreFoundation 0x00000001803ec0bc __CFRunLoopRun + 1796
14 CoreFoundation 0x00000001803eb5a4 CFRunLoopRunSpecific + 572
15 GraphicsServices 0x000000018e9fbae4 GSEventRunModal + 160
16 UIKitCore 0x00000001852f02e4 -[UIApplication _run] + 868
17 UIKitCore 0x00000001852f3f5c UIApplicationMain + 124
18 FlutterHybridiOS 0x000000010085d94c main + 116
1回答
-
CrazyCodeBoy
7天前
Flutter 引擎必须在 iOS 主线程初始化,混合开发中若在子线程初始化引擎,会导致渲染线程同步失败。00
相似问题