Closed StaffordInnovations closed 3 weeks ago
Hi @StaffordInnovations, I'm unable to reproduce this issue. Can you try the solutions here to see if it resolves your issue.
here
Hi Selase, I don't seem to have any of those options in my Runner or runner.xcworkspace file when I open it in Xcode. Reset package caches is greyed out. I've cleaned pods/flutter, deleted/reset pods, checked all my updates, reset my computer multiple times after trying all sorts of different variations in my podfile. I am in Flutter so I'm more used to that than Xcode
Can you create a new flutter project, add firebase_core
and try executing flutter run
?
I was wondering if maybe there was something going on with Flutter eventually moving to the swift package manager?
Can you create a new flutter project, add
firebase_core
and try executingflutter run
?
I made a new Flutter package and the only thing I added was Firebase_core and ended up with the original crash report I had before I figured out there was a package issue
I used flutterfire configure --project=ngt-life
to add firebase. However the command line wouldn't let me put in a good package name, it doesn't have enough characters
Incident Identifier: FD24AC5D-34D0-4994-AFE4-DF0EA659897E CrashReporter Key: FEDC1C93-2980-D076-61B4-E9D4A6B4332F Hardware Model: MacBookPro16,1 Process: Runner [38672] Path: /Users/USER/Library/Developer/CoreSimulator/Devices/350CEBEF-F094-4323-A2E9-A08BF87C7AFE/data/Containers/Bundle/Application/451A994D-3CBE-4963-9EBC-2718EB70E2BC/Runner.app/Runner Identifier: com.example.firebasePlay Version: 1.0.0 (1) Code Type: X86-64 (Native) Role: Foreground Parent Process: launchd_sim [36420] Coalition: com.apple.CoreSimulator.SimDevice.350CEBEF-F094-4323-A2E9-A08BF87C7AFE [16764] Responsible Process: SimulatorTrampoline [1473]
Date/Time: 2024-11-01 13:47:43.0242 +0000 Launch Time: 2024-11-01 13:47:40.2853 +0000 OS Version: macOS 15.0.1 (24A348) Release Type: User Report Version: 104
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6 Terminating Process: Runner [38672]
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x7ff80049927d exceptionPreprocess + 226
1 libobjc.A.dylib 0x7ff800063894 objc_exception_throw + 48
2 CoreFoundation 0x7ff80049916b -[NSException initWithCoder:] + 0
3 FirebaseCore 0x10d628310 +[FIRApp configureWithName:options:] + 496 (FIRApp.m:163)
4 Runner.debug.dylib 0x10d5f9753 -[FLTFirebaseCorePlugin initializeAppAppName:initializeAppRequest:completion:] + 1971
5 Runner.debug.dylib 0x10d5fe8a7 FirebaseCoreHostApiSetup_block_invoke + 279
6 Flutter 0x1131cab52 48-[FlutterBasicMessageChannel setMessageHandler:]_block_invoke + 171 (FlutterChannels.mm:139)
7 Flutter 0x112b9785c fml::RefPtr
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x10dbceb52 pthread_kill + 10 1 libsystem_pthread.dylib 0x10dafef85 pthread_kill + 262 2 libsystem_c.dylib 0x7ff80014cd60 abort + 133 3 libc++abi.dylib 0x7ff8002941b2 abort_message + 241 4 libc++abi.dylib 0x7ff80028638a demangling_terminate_handler() + 266 5 libobjc.A.dylib 0x7ff8000425e6 _objc_terminate() + 96 6 libc++abi.dylib 0x7ff80029360b std::terminate(void (*)()) + 6 7 libc++abi.dylib 0x7ff8002935c6 std::terminate() + 54 8 libdispatch.dylib 0x7ff800157d4e _dispatch_client_callout + 28 9 libdispatch.dylib 0x7ff800166ac0 _dispatch_main_queue_drain + 1420 10 libdispatch.dylib 0x7ff800166526 _dispatch_main_queue_callback_4CF + 31 11 CoreFoundation 0x7ff8003f5850 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 12 CoreFoundation 0x7ff8003f018b CFRunLoopRun + 2463 13 CoreFoundation 0x7ff8003ef409 CFRunLoopRunSpecific + 557 14 GraphicsServices 0x7ff80fcdd187 GSEventRunModal + 137 15 UIKitCore 0x7ff805b703a2 -[UIApplication _run] + 972 16 UIKitCore 0x7ff805b74e10 UIApplicationMain + 123 17 UIKitCore 0x7ff804c1fe03 0x7ff804b95000 + 568835 18 Runner.debug.dylib 0x10d5f560b static UIApplicationDelegate.main() + 123 19 Runner.debug.dylib 0x10d5f5587 static AppDelegate.$main() + 39 20 Runner.debug.dylib 0x10d5f5678 debug_main_executable_dylib_entry_point + 24 (AppDelegate.swift:5) 21 dyld_sim 0x10d6563ee start_sim + 10 22 dyld 0x112a1f2cd start + 1805
Thread 1: 0 libsystem_pthread.dylib 0x10dafabcc start_wqthread + 0
Thread 2: 0 libsystem_pthread.dylib 0x10dafabcc start_wqthread + 0
Thread 3: 0 libsystem_pthread.dylib 0x10dafabcc start_wqthread + 0
Thread 4:: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x10dbc7e0e mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x10dbd6622 mach_msg2_internal + 84 2 libsystem_kernel.dylib 0x10dbcef16 mach_msg_overwrite + 649 3 libsystem_kernel.dylib 0x10dbc80ff mach_msg + 19 4 CoreFoundation 0x7ff8003f55bf CFRunLoopServiceMachPort + 143 5 CoreFoundation 0x7ff8003efd47 CFRunLoopRun + 1371 6 CoreFoundation 0x7ff8003ef409 CFRunLoopRunSpecific + 557 7 Foundation 0x7ff800e7deee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213 8 Foundation 0x7ff800e7e16c -[NSRunLoop(NSRunLoop) runUntilDate:] + 72 9 UIKitCore 0x7ff805c48797 -[UIEventFetcher threadMain] + 518 10 Foundation 0x7ff800ea8699 NSThreadstart__ + 1024 11 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 12 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 5: 0 libsystem_pthread.dylib 0x10dafabcc start_wqthread + 0
Thread 6: 0 libsystem_pthread.dylib 0x10dafabcc start_wqthread + 0
Thread 7: 0 libsystem_pthread.dylib 0x10dafabcc start_wqthread + 0
Thread 8: 0 libsystem_pthread.dylib 0x10dafabcc start_wqthread + 0
Thread 9:: io.flutter.1.ui 0 libsystem_kernel.dylib 0x10dbc7e0e mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x10dbd6622 mach_msg2_internal + 84 2 libsystem_kernel.dylib 0x10dbcef16 mach_msg_overwrite + 649 3 libsystem_kernel.dylib 0x10dbc80ff mach_msg + 19 4 CoreFoundation 0x7ff8003f55bf CFRunLoopServiceMachPort + 143 5 CoreFoundation 0x7ff8003efd47 CFRunLoopRun + 1371 6 CoreFoundation 0x7ff8003ef409 CFRunLoopRunSpecific + 557 7 Flutter 0x112bbf7ed fml::MessageLoopDarwin::Run() + 65 (message_loop_darwin.mm:51) 8 Flutter 0x112bb8ff2 fml::MessageLoopImpl::DoRun() + 22 (message_loop_impl.cc:94) 9 Flutter 0x112bbe5d1 fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 122 (thread.cc:154) [inlined] 10 Flutter 0x112bbe5d1 decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::invoke[abi:v15000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 122 (invoke.h:403) [inlined] 11 Flutter 0x112bbe5d1 void std::_fl::__invoke_void_return_wrapper<void, true>::call<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 122 (invoke.h:488) [inlined] 12 Flutter 0x112bbe5d1 std::_fl::function::alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()[abi:v15000]() + 122 (function.h:185) [inlined] 13 Flutter 0x112bbe5d1 std::_fl::function::func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 135 (function.h:359) 14 Flutter 0x112bbe373 std::_fl::function::value_func<void ()>::operator()[abi:v15000]() const + 15 (function.h:512) [inlined] 15 Flutter 0x112bbe373 std::_fl::function<void ()>::operator()() const + 15 (function.h:1187) [inlined] 16 Flutter 0x112bbe373 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void) const + 19 (thread.cc:76) [inlined] 17 Flutter 0x112bbe373 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void) + 27 (thread.cc:73) 18 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 19 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 10:: io.flutter.1.raster 0 libsystem_kernel.dylib 0x10dbc7e0e mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x10dbd6622 mach_msg2_internal + 84 2 libsystem_kernel.dylib 0x10dbcef16 mach_msg_overwrite + 649 3 libsystem_kernel.dylib 0x10dbc80ff mach_msg + 19 4 CoreFoundation 0x7ff8003f55bf CFRunLoopServiceMachPort + 143 5 CoreFoundation 0x7ff8003efd47 CFRunLoopRun + 1371 6 CoreFoundation 0x7ff8003ef409 CFRunLoopRunSpecific + 557 7 Flutter 0x112bbf7ed fml::MessageLoopDarwin::Run() + 65 (message_loop_darwin.mm:51) 8 Flutter 0x112bb8ff2 fml::MessageLoopImpl::DoRun() + 22 (message_loop_impl.cc:94) 9 Flutter 0x112bbe5d1 fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 122 (thread.cc:154) [inlined] 10 Flutter 0x112bbe5d1 decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::invoke[abi:v15000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 122 (invoke.h:403) [inlined] 11 Flutter 0x112bbe5d1 void std::_fl::__invoke_void_return_wrapper<void, true>::call<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 122 (invoke.h:488) [inlined] 12 Flutter 0x112bbe5d1 std::_fl::function::alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()[abi:v15000]() + 122 (function.h:185) [inlined] 13 Flutter 0x112bbe5d1 std::_fl::function::func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 135 (function.h:359) 14 Flutter 0x112bbe373 std::_fl::function::value_func<void ()>::operator()[abi:v15000]() const + 15 (function.h:512) [inlined] 15 Flutter 0x112bbe373 std::_fl::function<void ()>::operator()() const + 15 (function.h:1187) [inlined] 16 Flutter 0x112bbe373 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void) const + 19 (thread.cc:76) [inlined] 17 Flutter 0x112bbe373 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void) + 27 (thread.cc:73) 18 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 19 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 11:: io.flutter.1.io 0 libsystem_kernel.dylib 0x10dbc7e0e mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x10dbd6622 mach_msg2_internal + 84 2 libsystem_kernel.dylib 0x10dbcef16 mach_msg_overwrite + 649 3 libsystem_kernel.dylib 0x10dbc80ff mach_msg + 19 4 CoreFoundation 0x7ff8003f55bf CFRunLoopServiceMachPort + 143 5 CoreFoundation 0x7ff8003efd47 CFRunLoopRun + 1371 6 CoreFoundation 0x7ff8003ef409 CFRunLoopRunSpecific + 557 7 Flutter 0x112bbf7ed fml::MessageLoopDarwin::Run() + 65 (message_loop_darwin.mm:51) 8 Flutter 0x112bb8ff2 fml::MessageLoopImpl::DoRun() + 22 (message_loop_impl.cc:94) 9 Flutter 0x112bbe5d1 fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 122 (thread.cc:154) [inlined] 10 Flutter 0x112bbe5d1 decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::invoke[abi:v15000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 122 (invoke.h:403) [inlined] 11 Flutter 0x112bbe5d1 void std::_fl::__invoke_void_return_wrapper<void, true>::call<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 122 (invoke.h:488) [inlined] 12 Flutter 0x112bbe5d1 std::_fl::function::alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()[abi:v15000]() + 122 (function.h:185) [inlined] 13 Flutter 0x112bbe5d1 std::_fl::function::func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 135 (function.h:359) 14 Flutter 0x112bbe373 std::_fl::function::value_func<void ()>::operator()[abi:v15000]() const + 15 (function.h:512) [inlined] 15 Flutter 0x112bbe373 std::_fl::function<void ()>::operator()() const + 15 (function.h:1187) [inlined] 16 Flutter 0x112bbe373 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void) const + 19 (thread.cc:76) [inlined] 17 Flutter 0x112bbe373 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void) + 27 (thread.cc:73) 18 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 19 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 12:: io.flutter.1.profiler 0 libsystem_kernel.dylib 0x10dbc7e0e mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x10dbd6622 mach_msg2_internal + 84 2 libsystem_kernel.dylib 0x10dbcef16 mach_msg_overwrite + 649 3 libsystem_kernel.dylib 0x10dbc80ff mach_msg + 19 4 CoreFoundation 0x7ff8003f55bf CFRunLoopServiceMachPort + 143 5 CoreFoundation 0x7ff8003efd47 CFRunLoopRun + 1371 6 CoreFoundation 0x7ff8003ef409 CFRunLoopRunSpecific + 557 7 Flutter 0x112bbf7ed fml::MessageLoopDarwin::Run() + 65 (message_loop_darwin.mm:51) 8 Flutter 0x112bb8ff2 fml::MessageLoopImpl::DoRun() + 22 (message_loop_impl.cc:94) 9 Flutter 0x112bbe5d1 fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 122 (thread.cc:154) [inlined] 10 Flutter 0x112bbe5d1 decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::invoke[abi:v15000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 122 (invoke.h:403) [inlined] 11 Flutter 0x112bbe5d1 void std::_fl::__invoke_void_return_wrapper<void, true>::call<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 122 (invoke.h:488) [inlined] 12 Flutter 0x112bbe5d1 std::_fl::function::alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()[abi:v15000]() + 122 (function.h:185) [inlined] 13 Flutter 0x112bbe5d1 std::_fl::function::func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 135 (function.h:359) 14 Flutter 0x112bbe373 std::_fl::function::value_func<void ()>::operator()[abi:v15000]() const + 15 (function.h:512) [inlined] 15 Flutter 0x112bbe373 std::_fl::function<void ()>::operator()() const + 15 (function.h:1187) [inlined] 16 Flutter 0x112bbe373 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void) const + 19 (thread.cc:76) [inlined] 17 Flutter 0x112bbe373 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void) + 27 (thread.cc:73) 18 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 19 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 13:: io.worker.1
0 libsystem_kernel.dylib 0x10dbca9aa psynch_cvwait + 10
1 libsystem_pthread.dylib 0x10daff7a8 _pthread_cond_wait + 1193
2 Flutter 0x112b99520 std::_fl::libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t, _opaque_pthread_mutex_t) + 5 (threading_support:335) [inlined]
3 Flutter 0x112b99520 std::_fl::condition_variable::wait(std::_fl::unique_lock
Thread 14:: io.worker.2
0 libsystem_kernel.dylib 0x10dbca9aa psynch_cvwait + 10
1 libsystem_pthread.dylib 0x10daff7a8 _pthread_cond_wait + 1193
2 Flutter 0x112b99520 std::_fl::libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t, _opaque_pthread_mutex_t) + 5 (threading_support:335) [inlined]
3 Flutter 0x112b99520 std::_fl::condition_variable::wait(std::_fl::unique_lock
Thread 15:: io.worker.3
0 libsystem_kernel.dylib 0x10dbca9aa psynch_cvwait + 10
1 libsystem_pthread.dylib 0x10daff7a8 _pthread_cond_wait + 1193
2 Flutter 0x112b99520 std::_fl::libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t, _opaque_pthread_mutex_t) + 5 (threading_support:335) [inlined]
3 Flutter 0x112b99520 std::_fl::condition_variable::wait(std::_fl::unique_lock
Thread 16:: io.worker.4
0 libsystem_kernel.dylib 0x10dbca9aa psynch_cvwait + 10
1 libsystem_pthread.dylib 0x10daff7a8 _pthread_cond_wait + 1193
2 Flutter 0x112b99520 std::_fl::libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t, _opaque_pthread_mutex_t) + 5 (threading_support:335) [inlined]
3 Flutter 0x112b99520 std::_fl::condition_variable::wait(std::_fl::unique_lock
Thread 17:: dart:io EventHandler 0 libsystem_kernel.dylib 0x10dbccafa kevent + 10 1 Flutter 0x1131793a8 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 312 (eventhandler_macos.cc:459) 2 Flutter 0x1131954a3 dart::bin::ThreadStart(void*) + 83 (thread_macos.cc:91) 3 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 4 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 18:: Dart Profiler ThreadInterrupter 0 libsystem_kernel.dylib 0x10dbca9aa __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x10daff7a8 _pthread_cond_wait + 1193 2 Flutter 0x11331149e dart::Monitor::WaitMicros(long long) + 158 (os_thread_macos.cc:435) 3 Flutter 0x1133873af dart::MonitorLocker::WaitMicros(long long) + 8 (lockers.h:181) [inlined] 4 Flutter 0x1133873af dart::ThreadInterrupter::ThreadMain(unsigned long) + 303 (thread_interrupter.cc:170) 5 Flutter 0x113310b2e dart::ThreadStart(void*) + 206 (os_thread_macos.cc:136) 6 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 7 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 19:: Dart Profiler SampleBlockProcessor 0 libsystem_kernel.dylib 0x10dbca9aa __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x10daff7d9 _pthread_cond_wait + 1242 2 Flutter 0x113311486 dart::Monitor::WaitMicros(long long) + 134 (os_thread_macos.cc:449) 3 Flutter 0x1133162ab dart::MonitorLocker::WaitMicros(long long) + 13 (lockers.h:181) [inlined] 4 Flutter 0x1133162ab dart::SampleBlockProcessor::ThreadMain(unsigned long) + 251 (profiler.cc:1875) 5 Flutter 0x113310b2e dart::ThreadStart(void*) + 206 (os_thread_macos.cc:136) 6 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 7 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 20:: DartWorker 0 libsystem_kernel.dylib 0x10dbca9aa __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x10daff7d9 _pthread_cond_wait + 1242 2 Flutter 0x113311486 dart::Monitor::WaitMicros(long long) + 134 (os_thread_macos.cc:449) 3 Flutter 0x1133880bf dart::MonitorLocker::WaitMicros(long long) + 12 (lockers.h:181) [inlined] 4 Flutter 0x1133880bf dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker) + 543 (thread_pool.cc:183) 5 Flutter 0x113388293 dart::ThreadPool::Worker::Main(unsigned long) + 115 (thread_pool.cc:330) 6 Flutter 0x113310b2e dart::ThreadStart(void) + 206 (os_thread_macos.cc:136) 7 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 8 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 21:: DartWorker 0 libsystem_kernel.dylib 0x10dbca9aa __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x10daff7d9 _pthread_cond_wait + 1242 2 Flutter 0x113311486 dart::Monitor::WaitMicros(long long) + 134 (os_thread_macos.cc:449) 3 Flutter 0x1133880bf dart::MonitorLocker::WaitMicros(long long) + 12 (lockers.h:181) [inlined] 4 Flutter 0x1133880bf dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker) + 543 (thread_pool.cc:183) 5 Flutter 0x113388293 dart::ThreadPool::Worker::Main(unsigned long) + 115 (thread_pool.cc:330) 6 Flutter 0x113310b2e dart::ThreadStart(void) + 206 (os_thread_macos.cc:136) 7 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 8 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 22:: DartWorker 0 libsystem_kernel.dylib 0x10dbca9aa __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x10daff7d9 _pthread_cond_wait + 1242 2 Flutter 0x113311486 dart::Monitor::WaitMicros(long long) + 134 (os_thread_macos.cc:449) 3 Flutter 0x1133880bf dart::MonitorLocker::WaitMicros(long long) + 12 (lockers.h:181) [inlined] 4 Flutter 0x1133880bf dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker) + 543 (thread_pool.cc:183) 5 Flutter 0x113388293 dart::ThreadPool::Worker::Main(unsigned long) + 115 (thread_pool.cc:330) 6 Flutter 0x113310b2e dart::ThreadStart(void) + 206 (os_thread_macos.cc:136) 7 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 8 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 23:: DartWorker 0 libsystem_kernel.dylib 0x10dbca9aa __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x10daff7d9 _pthread_cond_wait + 1242 2 Flutter 0x113311486 dart::Monitor::WaitMicros(long long) + 134 (os_thread_macos.cc:449) 3 Flutter 0x1132538a1 dart::MonitorLocker::WaitMicros(long long) + 12 (lockers.h:181) [inlined] 4 Flutter 0x1132538a1 dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker) + 241 (isolate.cc:299) 5 Flutter 0x113387f0d dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker) + 109 (thread_pool.cc:167) 6 Flutter 0x113388293 dart::ThreadPool::Worker::Main(unsigned long) + 115 (thread_pool.cc:330) 7 Flutter 0x113310b2e dart::ThreadStart(void*) + 206 (os_thread_macos.cc:136) 8 libsystem_pthread.dylib 0x10daff253 _pthread_start + 99 9 libsystem_pthread.dylib 0x10dafabef thread_start + 15
Thread 24: 0 libsystem_pthread.dylib 0x10dafabcc start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007ff7b29c6fd8 rdx: 0x0000000000000000 rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7b29c7000 rsp: 0x00007ff7b29c6fd8 r8: 0x00007ff7b29c6ea0 r9: 0x00007ff7b29c7100 r10: 0x0000000000000000 r11: 0x0000000000000246 r12: 0x00007ff8653b96c0 r13: 0x0000003000000008 r14: 0x0000000000000103 r15: 0x0000000000000016 rip: 0x000000010dbceb52 rfl: 0x0000000000000246 cr2: 0x0000000000000000
Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
Binary Images:
0x112a19000 - 0x112aa5fff dyld () <69c73748-37ae-3a6f-83af-690645c3da75> /usr/lib/dyld
0x10da00000 - 0x10da36fff com.apple.MTLSimDriver (341.16)
EOF
{"app_name":"Runner","timestamp":"2024-11-01 13:47:44.00 +0000","app_version":"1.0.0","slice_uuid":"701168ed-38da-33b1-9b98-c426161c9fda","build_version":"1","platform":7,"bundleID":"com.example.firebasePlay","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 15.0.1 (24A348)","roots_installed":0,"name":"Runner","incident_id":"FD24AC5D-34D0-4994-AFE4-DF0EA659897E"}
{
"uptime" : 29000,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro16,1",
"coalitionID" : 16764,
"osVersion" : {
"train" : "macOS 15.0.1",
"build" : "24A348",
"releaseType" : "User"
},
"captureTime" : "2024-11-01 13:47:43.0242 +0000",
"codeSigningMonitor" : 0,
"incident" : "FD24AC5D-34D0-4994-AFE4-DF0EA659897E",
"pid" : 38672,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-11-01 13:47:40.2853 +0000",
"procStartAbsTime" : 29618843558719,
"procExitAbsTime" : 29621576071993,
"procName" : "Runner",
"procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/350CEBEF-F094-4323-A2E9-A08BF87C7AFE\/data\/Containers\/Bundle\/Application\/451A994D-3CBE-4963-9EBC-2718EB70E2BC\/Runner.app\/Runner",
"bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"com.example.firebasePlay"},
"storeInfo" : {"deviceIdentifierForVendor":"EE366DB0-EB45-56E4-B23A-17544B78FF26","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 36420,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.350CEBEF-F094-4323-A2E9-A08BF87C7AFE",
"crashReporterKey" : "FEDC1C93-2980-D076-61B4-E9D4A6B4332F",
"responsiblePid" : 1473,
"responsibleProc" : "SimulatorTrampoline",
"codeSigningID" : "com.example.firebasePlay",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570425857,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"bootSessionUUID" : "041760DA-EAD1-4C1C-AE9A-AE685D422401",
"bridgeVersion" : {"build":"22P353","train":"9.0"},
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"Runner","byPid":38672},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"lastExceptionBacktrace" : [{"imageOffset":1249917,"symbol":"exceptionPreprocess","symbolLocation":226,"imageIndex":20},{"imageOffset":161940,"symbol":"objc_exception_throw","symbolLocation":48,"imageIndex":18},{"imageOffset":1249643,"symbol":"-[NSException initWithCoder:]","symbolLocation":0,"imageIndex":20},{"imageOffset":8976,"sourceLine":163,"sourceFile":"FIRApp.m","symbol":"+[FIRApp configureWithName:options:]","imageIndex":5,"symbolLocation":496},{"imageOffset":26451,"symbol":"-[FLTFirebaseCorePlugin initializeAppAppName:initializeAppRequest:completion:]","symbolLocation":1971,"imageIndex":4},{"imageOffset":47271,"symbol":"FirebaseCoreHostApiSetup_block_invoke","symbolLocation":279,"imageIndex":4},{"imageOffset":6851410,"sourceLine":139,"sourceFile":"FlutterChannels.mm","symbol":"48-[FlutterBasicMessageChannel setMessageHandler:]_block_invoke","imageIndex":9,"symbolLocation":171},{"symbol":"fml::RefPtr
},
"deploymentId" : 240000008
},
{
"rolloutId" : "648cada15dbc71671bb3aa1b",
"factorPackIds" : {
"SIRI_EXPERIENCE_CAM" : "65a81173096f6a1f1ba46525"
},
"deploymentId" : 240000116
}
], "experiments" : [ { "treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8", "experimentId" : "6643969b3099cf28e049862f", "deploymentId" : 400000007 } ] } }
Model: MacBookPro16,1, BootROM 2069.0.0.0.0 (iBridge: 22.16.10353.0.0,0), 8 processors, 8-Core Intel Core i9, 2.3 GHz, 16 GB, SMC Graphics: Intel UHD Graphics 630, Intel UHD Graphics 630, Built-In Graphics: AMD Radeon Pro 5500M, AMD Radeon Pro 5500M, PCIe, 4 GB Display: Color LCD, 3072 x 1920 Retina, Main, MirrorOff, Online Display: HP 27w, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1 Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, DDR4, 2667 MHz, Micron, 8ATF1G64HZ-2G6E1 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 26 2024 22:36:01 version 9.30.514.0.32.5.94 FWID 01-68d7ff80 AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB3.1 Hub USB Device: USB3.0 Card Reader USB Device: USB31Bus USB Device: USB2.1 Hub USB Device: USB C Video Adaptor USB Device: Trust Input Device USB Device: T2Bus USB Device: composite_device USB Device: Touch Bar Backlight USB Device: Touch Bar Display USB Device: Apple Internal Keyboard / Trackpad USB Device: Headset USB Device: Ambient Light Sensor USB Device: FaceTime HD Camera (Built-in) USB Device: Apple T2 Controller Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5 Thunderbolt Bus: MacBook Pro, Apple Inc., 63.5
If I should manually add the ios and android elements from the flutter firebase project I can discard all my changes in git. It might have something to do with the flutter config file. My original thought was a difference in the project id or something like that but then I found the package errors
I suspect this may be a misconfiguration on your end. Can you create a complete minimal repo with steps to reproduce this issue? Kindly share the link here once you're done.
I suspect this may be a misconfiguration on your end. Can you create a complete minimal repo with steps to reproduce this issue? Kindly share the link here once you're done.
My github desktop is having issues uploading at the moment. The steps consist of creating a new flutter app, following the instructions on console.firebase.google.com for "add firebase to your flutter app" using flutterfire configure --project=kohnen2025 adding `import 'package:firebase_core/firebase_core.dart'; import 'firebase_options.dart';
// ...
await Firebase.initializeApp( options: DefaultFirebaseOptions.currentPlatform, );`
to main.dart with firebase_core: ^3.6.0 in pubspec.yaml
I can try to upload later
@StaffordInnovations - have you enabled Swift package manager? To disable run:
flutter config --no-enable-swift-package-manager
Open a new terminal, do usual clean flutter clean
and try to build
@StaffordInnovations - have you enabled Swift package manager? To disable run:
flutter config --no-enable-swift-package-manager
Open a new terminal, do usual clean
flutter clean
and try to build
didn't help :( technically it should have been disabled since I was on stable and not main but still manually tried turning it off then fully restarted Android Studio and my computer before deleting podfile.lock and doing the clean steps
I suspect this may be a misconfiguration on your end. Can you create a complete minimal repo with steps to reproduce this issue? Kindly share the link here once you're done.
Hi Selase please see below for the link to the github package for just a basic flutter app that's not working properly
Hi @StaffordInnovations, thanks for sharing. I was able to successfully build and launch your project. The crash appears to be caused by an invalid Firebase app name containing spaces (NGT life). You have to use a valid name(NGT_life). Let me know if this resolves your issue.
Hi @StaffordInnovations, thanks for sharing. I was able to successfully build and launch your project. The crash appears to be caused by an invalid Firebase app name containing spaces (NGT life). You have to use a valid name(NGT_life). Let me know if this resolves your issue.
Hi Selase, it looks like it's the firebase config tool that ends up causing an issue in my case because of the length of my bundle id. I've actually had the firebase project for a long time so it wasn't the project name, although I went ahead and changed it to a _ instead of a space
I had to run
flutterfire configure -a"com.example.app"
and ensure there were no conflicts in the apps on the firebase console (which I had to manually add the android app)
instead of
flutterfire configure --project=app
Hey @StaffordInnovations , I'm facing the same issue as you and following this thread, it's a bit unclear what the fix was for you. Do you mind sharing? I'm getting the "Package Loading (Xcode): Missing package product 'FirebaseAppCheck'" errors on multiple FIrebase packages. I can't find any solutions online and this thread is the only one that seems to be similar.
Hey @StaffordInnovations , I'm facing the same issue as you and following this thread, it's a bit unclear what the fix was for you. Do you mind sharing? I'm getting the "Package Loading (Xcode): Missing package product 'FirebaseAppCheck'" errors on multiple FIrebase packages. I can't find any solutions online and this thread is the only one that seems to be similar.
Hi Garry, so it was a configuration issue, basically conflict between my firebase project naming and the app. So I would say the first step is to make sure everything matches on your firebase console and the flutter app. Because my app name was longer (ie.staffordinnovations.app) I had to manually do use the flutterfire configure as I mentioned above.
This issue was kind of similar maybe it could help?
https://github.com/firebase/flutterfire/issues/13563
There's always the updating cocoa pods, deleting/reinstalling or the good ole pod cache clean --all followed by flutter clean flutter pub get,
Hey @StaffordInnovations , thank you for your response! It was definitely a configuration issue, I ended up deleting my iOS folder and re-generated it and it worked fine afterwards :)
Is there an existing issue for this?
Which plugins are affected?
Core, Analytics, Auth, Cloud Functions, In-App Messaging, Messaging
Which platforms are affected?
iOS
Description
This is similar but not quite to issue #13563 however I've tried the solutions and they're not working for me plus the error reports aren't quite the same.
I expected to add FlutterFire/Firebase_core to my new Flutter app and be able to build on the IOS simulator.
I've already tried a million things. I took out
use_frameworks! use_modular_headers!
from the target 'Runner' do in my podfile and tried the manualpod 'Firebase', :modular_headers => true
for each packageI've done the delete podfile.lock, clean cache, clean flutter etc over and over any time I've tried a new solution
doing the following didn't help:
post_install do |installer| installer.pods_project.targets.each do |target| if target.name == 'abseil' target.build_configurations.each do |config| config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'gnu++14' end end end end
I tried adding the packages to Runner in Xcode but then got conflict there. I took out url_launcher in case that was causing an issue. I'm really at a loss as to how to fix this.
Reproducing the issue
I created a new flutter app in order to refactor an existing app. The app built on both the IOS simulator Iphone 15 (18.0) and android emulator prior to adding flutter core. I used the Flutter config instructions from the Firebase console in order to install Firebase but then I got crash reports. It took me a long time to find it's an issue with the packages.
Firebase Core version
3.6.0
Flutter Version
3.24.4
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippet```yaml dependencies: flutter: sdk: flutter uuid: ^4.2.1 path_provider: ^2.1.1 firebase_core: ^3.6.0 #state management plugins hooks_riverpod: ^2.6.1 flutter_hooks: ^0.20.5 riverpod_annotation: ^2.6.1 rxdart: ^0.28.0 go_router: ^14.3.0 flutter_localizations: sdk: flutter intl: ^0.19.0 flutter_launcher_icons: ^0.14.1 google_fonts: ^6.2.1 image_picker: ^1.1.2 flutter_portal: ^1.1.4 syncfusion_flutter_datepicker: ^27.1.57 webview_flutter: ^4.10.0 flutter_stripe: ^11.2.0 flutter_stripe_web: ^6.2.0 pay: ^2.0.0 dev_dependencies: build_runner: ^2.4.13 riverpod_generator: ^2.6.2 flutter_test: sdk: flutter flutter_lints: ^4.0.0 # Custom app icon. For more info see: https://pub.dev/packages/flutter_launcher_icons flutter_icons: android: true ios: true remove_alpha_ios: true image_path_ios: "assets/images/NGT_simple.png" image_path_android: "assets/images/NGT_simple.png" adaptive_icon_background: "assets/images/NGT_background.png" adaptive_icon_foreground: "assets/images/NGT_foreground.png" windows: generate: true image_path: "assets/images/NGT_simple.png" icon_size: 48 # min:48, max:256, default: 48 macos: generate: true image_path: "assets/images/NGT_simple.png" # The following section is specific to Flutter packages. flutter: uses-material-design: true generate: true ```
Additional context and comments
I'm wondering if maybe there might be related to the swift package manager or maybe I should migrate to that? I'm currently on Flutter Channel Stable
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.24.4, on macOS 15.0.1 24A348 darwin-x64, locale en-IE) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc3) [✓] Xcode - develop for iOS and macOS (Xcode 16.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.1) [✓] VS Code (version 1.95.0) [✓] Connected device (4 available) [✓] Network resources