繁体   English   中英

Flutter 只有 IOS 崩溃问题

[英]Flutter only IOS crash issue

我有一个 flutter 应用程序,它使用多个 firebase 调用。 当真实设备上的移动应用程序的实时版本从待机模式打开时,它说它已经崩溃并要求报告崩溃。 我有 crashlytics 并阅读了 xcode 崩溃日志。 他们在这里我被困在这个问题上,它严重影响了用户。 我已经 **** 了实际的 uuid 和其他信息。

来自 Crashlytics

 INTERNAL ASSERTION FAILED: Failed to commit transaction: <LevelDbTransaction Backfill Indexes: 0 changes (0 bytes):> Failed: IO error: /var/mobile/Containers/Data/Application/775AB93F-A27D-4400-87C0-5316FCCA089F/Library/Application Support/firestore/__FIRAPP_DEFAULT/********************/main/000038.log: Operation not permitted (expected status.ok()) ``` Fatal Exception: NSInternalInconsistencyException 0 CoreFoundation 0xa248 __exceptionPreprocess 1 libobjc.A.dylib 0x17a68 objc_exception_throw 2 Foundation 0x546958 -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] 3 FirebaseFirestore 0x45b74 (Missing UUID ********************************) 4 FirebaseFirestore 0x45644 (Missing UUID ********************************) 5 FirebaseFirestore 0x9926c (Missing UUID ********************************) 6 FirebaseFirestore 0x992fc (Missing UUID ********************************) 7 FirebaseFirestore 0xd0f50 (Missing UUID ********************************) 8 FirebaseFirestore 0xc701c (Missing UUID 8********************************) 9 FirebaseFirestore 0xdf108 (Missing UUID ********************************) 10 FirebaseFirestore 0x6b344 (Missing UUID ********************************) 11 FirebaseFirestore 0x6190 (Missing UUID ********************************) 12 FirebaseFirestore 0x147528 (Missing UUID ********************************) 13 libdispatch.dylib 0x3fdc _dispatch_client_callout 14 libdispatch.dylib 0x746c _dispatch_continuation_pop 15 libdispatch.dylib 0x1aa58 _dispatch_source_invoke 16 libdispatch.dylib 0xb56c _dispatch_lane_serial_drain 17 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke 18 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread 19 libsystem_pthread.dylib 0xdf8 _pthread_wqthread 20 libsystem_pthread.dylib 0xb98 start_wqthread

来自 xcode

FirebaseFirestore: std::__1::enable_if<:(std:,is_same<void: decltype(fp0())>:,value): decltype(fp0())>::type firebase::firestore::local::持久性::运行<firebase::firestore::local::LocalStore:.CollectGarbage(firebas... + 64

我试过持久版本

firebase_core_platform_interface: 4.5.1

I have tried turning on and off data to recreate it seems not to occur only spiratically when phone goes into standby. 

确保绑定已经初始化!

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  runApp(const MyApp());
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM