firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.69k stars 1.48k forks source link

Crash: RCNConfigRealtime fetchLatestConfig:targetVersion - Collection <__NSSetM: 0x30022aae0> was mutated while being enumerated. #13773

Closed yanz-safe closed 1 month ago

yanz-safe commented 2 months ago

Description

I published the application to AppStore recently. Firebase & Apple captured this crash report for 9/150 of users on launch day. All of them are first-time fresh users.

Initially I had Firebase SDK version 10.29. I found this report and though it might be the same crash and update SDK to 11.3.0. Unfortunately, today crash report was reopened by Firebase on new version of app :(

Using Xcode 15.4 now. Cannot migrate right now.

Reproducing the issue

Was not able to reproduce. Attaching the crash report from Xcode, and code where I configure RemoteConfig and use it.

EnvironmentManager is called almost immediately after the @main app struct initializes.

Expand Crash report / SDK 10.29.0 from Xcode Organiser
``` Incident Identifier: 982B6A2B-0523-414D-88D0-FDDD29C9E4F7 Distributor ID: com.apple.AppStore Hardware Model: iPhone16,2 Process: MyProject [3041] Path: /private/var/containers/Bundle/Application/1E9A3F84-9865-4AF3-B3B9-9054A2025EAD/MyProject.app/MyProject Identifier: myproject.dot.com Version: 2.12 (101) AppStoreTools: 16A242d AppVariant: 1:iPhone16,2:18 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: myproject.dot.com [1323] Date/Time: 2024-09-30 23:19:55.4535 -0400 Launch Time: 2024-09-30 23:19:53.8804 -0400 OS Version: iPhone OS 18.0 (22A3354) Release Type: User Baseband Version: 2.16.06 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6 Terminating Process: MyProject [3041] Triggered by Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x19319d08c __exceptionPreprocess + 164 (NSException.m:249) 1 libobjc.A.dylib 0x19049f2e4 objc_exception_throw + 88 (objc-exception.mm:356) 2 CoreFoundation 0x193298168 __NSFastEnumerationMutationHandler + 116 (NSEnumerator.m:132) 3 MyProject 0x105bdec08 __53-[RCNConfigRealtime fetchLatestConfig:targetVersion:]_block_invoke_2 + 436 (RCNConfigRealtime.m:449) 4 libdispatch.dylib 0x19ae14370 _dispatch_call_block_and_release + 32 (init.c:1549) 5 libdispatch.dylib 0x19ae160d0 _dispatch_client_callout + 20 (object.m:576) 6 libdispatch.dylib 0x19ae249e0 _dispatch_main_queue_drain + 980 (queue.c:8093) 7 libdispatch.dylib 0x19ae245fc _dispatch_main_queue_callback_4CF + 44 (queue.c:8253) 8 CoreFoundation 0x19316ff64 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1773) 9 CoreFoundation 0x19316d188 __CFRunLoopRun + 1996 (CFRunLoop.c:3143) 10 CoreFoundation 0x19316c5b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414) 11 GraphicsServices 0x1dec021c4 GSEventRunModal + 164 (GSEvent.c:2196) 12 UIKitCore 0x195cc25f0 -[UIApplication _run] + 816 (UIApplication.m:3820) 13 UIKitCore 0x195d7110c UIApplicationMain + 340 (UIApplication.m:5472) 14 SwiftUI 0x1978cb804 closure #1 in KitRendererCommon(_:) + 168 (UIKitApp.swift:68) 15 SwiftUI 0x1978a8e68 runApp(_:) + 100 (UIKitApp.swift:16) 16 SwiftUI 0x1978abd68 static App.main() + 180 (App.swift:121) 17 MyProject 0x10479d2bc static MyProjectApp.$main() + 52 (MyProjectApp.swift:0) 18 MyProject 0x10479d2bc main + 64 19 dyld 0x1b893fd34 start + 2724 (dyldMain.cpp:1334) Thread 0 name: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001e2fbb274 __pthread_kill + 8 (:-1) 1 libsystem_pthread.dylib 0x000000021a512ef8 pthread_kill + 268 (pthread.c:1721) 2 libsystem_c.dylib 0x000000019aecfb6c __abort + 136 (abort.c:163) 3 libsystem_c.dylib 0x000000019aecfae4 abort + 140 (abort.c:130) 4 libc++abi.dylib 0x000000021a4365b8 abort_message + 132 (abort_message.cpp:78) 5 libc++abi.dylib 0x000000021a424bac demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77) 6 libobjc.A.dylib 0x00000001904bae04 _objc_terminate() + 156 (objc-exception.mm:496) 7 MyProject 0x0000000105da1bdc FIRCLSTerminateHandler() + 340 (FIRCLSException.mm:463) 8 libc++abi.dylib 0x000000021a43587c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59) 9 libc++abi.dylib 0x000000021a435820 std::terminate() + 108 (cxa_handlers.cpp:88) 10 libdispatch.dylib 0x000000019ae160e4 _dispatch_client_callout + 40 (object.m:579) 11 libdispatch.dylib 0x000000019ae249e0 _dispatch_main_queue_drain + 980 (queue.c:8093) 12 libdispatch.dylib 0x000000019ae245fc _dispatch_main_queue_callback_4CF + 44 (queue.c:8253) 13 CoreFoundation 0x000000019316ff64 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1773) 14 CoreFoundation 0x000000019316d188 __CFRunLoopRun + 1996 (CFRunLoop.c:3143) 15 CoreFoundation 0x000000019316c5b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414) 16 GraphicsServices 0x00000001dec021c4 GSEventRunModal + 164 (GSEvent.c:2196) 17 UIKitCore 0x0000000195cc25f0 -[UIApplication _run] + 816 (UIApplication.m:3820) 18 UIKitCore 0x0000000195d7110c UIApplicationMain + 340 (UIApplication.m:5472) 19 SwiftUI 0x00000001978cb804 closure #1 in KitRendererCommon(_:) + 168 (UIKitApp.swift:68) 20 SwiftUI 0x00000001978a8e68 runApp(_:) + 100 (UIKitApp.swift:16) 21 SwiftUI 0x00000001978abd68 static App.main() + 180 (App.swift:121) 22 MyProject 0x000000010479d2bc static MyProjectApp.$main() + 52 (MyProjectApp.swift:0) 23 MyProject 0x000000010479d2bc main + 64 24 dyld 0x00000001b893fd34 start + 2724 (dyldMain.cpp:1334) Thread 1 name: Thread 1: 0 libsystem_kernel.dylib 0x00000001e2fb6694 guarded_pwrite_np + 8 (:-1) 1 libsqlite3.dylib 0x00000001c05f36f4 seekAndWrite + 456 (sqlite3.c:44286) 2 libsqlite3.dylib 0x00000001c05ade68 unixWrite + 180 (sqlite3.c:44364) 3 libsqlite3.dylib 0x00000001c05b6a4c writeJournalHdr + 344 (sqlite3.c:65385) 4 libsqlite3.dylib 0x00000001c05a9b6c pager_write + 788 (sqlite3.c:69965) 5 libsqlite3.dylib 0x00000001c05acea8 sqlite3BtreeInsert + 2456 (sqlite3.c:86321) 6 libsqlite3.dylib 0x00000001c059489c sqlite3VdbeExec + 26772 (sqlite3.c:105671) 7 libsqlite3.dylib 0x00000001c058d748 sqlite3_step + 960 (sqlite3.c:97868) 8 MyProject 0x0000000105bd554c -[RCNConfigDBManager insertMainTableWithValues:fromSource:] + 360 (RCNConfigDBManager.m:467) 9 MyProject 0x0000000105bd5350 __77-[RCNConfigDBManager insertMainTableWithValues:fromSource:completionHandler:]_block_invoke + 48 (RCNConfigDBManager.m:418) 10 libdispatch.dylib 0x000000019ae14370 _dispatch_call_block_and_release + 32 (init.c:1549) 11 libdispatch.dylib 0x000000019ae160d0 _dispatch_client_callout + 20 (object.m:576) 12 libdispatch.dylib 0x000000019ae1d6d8 _dispatch_lane_serial_drain + 744 (queue.c:3934) 13 libdispatch.dylib 0x000000019ae1e1e0 _dispatch_lane_invoke + 380 (queue.c:4025) 14 libdispatch.dylib 0x000000019ae29258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 15 libdispatch.dylib 0x000000019ae28aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 16 libsystem_pthread.dylib 0x000000021a50fc7c _pthread_wqthread + 288 (pthread.c:2696) 17 libsystem_pthread.dylib 0x000000021a50c488 start_wqthread + 8 (:-1) Thread 2: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 3: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 4 name: Thread 4: 0 libsystem_kernel.dylib 0x00000001e2fb0484 kevent_id + 8 (:-1) 1 libdispatch.dylib 0x000000019ae38b00 _dispatch_kq_poll + 228 (event_kevent.c:760) 2 libdispatch.dylib 0x000000019ae3950c _dispatch_event_loop_wait_for_ownership + 436 (event_kevent.c:2236) 3 libdispatch.dylib 0x000000019ae25a20 __DISPATCH_WAIT_FOR_QUEUE__ + 340 (queue.c:1704) 4 libdispatch.dylib 0x000000019ae255e8 _dispatch_sync_f_slow + 148 (queue.c:1799) 5 MyProject 0x0000000105f95120 -[APMIdentity appleConsentStatus] + 104 6 MyProject 0x0000000105fac378 APMUpdateConsentSignalsAndIdentifiers + 408 7 MyProject 0x0000000105fb1f30 -[APMMeasurement(Event) createRawEventMetadataWithUserAttributes:] + 1288 8 MyProject 0x0000000105fb3c30 -[APMMeasurement(Event) writeEvent:isPublicEvent:isRealtime:] + 628 9 MyProject 0x0000000105fb19e4 __57-[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:]_block_invoke + 488 10 MyProject 0x0000000106001970 -[APMSqliteStore performTransactionWithError:block:] + 160 11 MyProject 0x0000000105f78778 -[APMDatabase performTransaction:] + 40 12 MyProject 0x0000000105fb1738 -[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:] + 440 13 MyProject 0x0000000105fb14a0 -[APMMeasurement(Event) writeEventOnWorkerQueue:] + 492 14 MyProject 0x0000000105fb1078 -[APMMeasurement(Event) handleEventOnWorkerQueue:] + 712 15 MyProject 0x0000000105fa561c -[APMMeasurement logEventOnWorkerQueue:notifyEventListeners:] + 64 16 MyProject 0x0000000105fa54a8 -[APMMeasurement logEventOnWorkerQueueWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:] + 296 17 MyProject 0x0000000105fa52d8 __151-[APMMeasurement logEventWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:]_block_invoke + 60 18 MyProject 0x0000000105ff89b0 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44 19 libdispatch.dylib 0x000000019ae14370 _dispatch_call_block_and_release + 32 (init.c:1549) 20 libdispatch.dylib 0x000000019ae160d0 _dispatch_client_callout + 20 (object.m:576) 21 libdispatch.dylib 0x000000019ae1d6d8 _dispatch_lane_serial_drain + 744 (queue.c:3934) 22 libdispatch.dylib 0x000000019ae1e1e0 _dispatch_lane_invoke + 380 (queue.c:4025) 23 libdispatch.dylib 0x000000019ae29258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 24 libdispatch.dylib 0x000000019ae28aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 25 libsystem_pthread.dylib 0x000000021a50fc7c _pthread_wqthread + 288 (pthread.c:2696) 26 libsystem_pthread.dylib 0x000000021a50c488 start_wqthread + 8 (:-1) Thread 5: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 6: 0 MyProject 0x00000001050df3ac type metadata accessor for AWSPinpointPushNotificationsPlugin + 0 (:0) 1 MyProject 0x0000000104753bd0 AWSPinpointPushNotificationsPlugin.__allocating_init(options:) + 8 (:0) 2 MyProject 0x0000000104753bd0 closure #1 in closure #1 in variable initialization expression of static AmplifyConfigurator.liveValue + 2792 3 MyProject 0x0000000104754240 partial apply for closure #1 in closure #1 in variable initialization expression of static AmplifyConfigurator.liveValue + 16 (:0) 4 MyProject 0x00000001047936fc closure #1 in closure #1 in MyProjectSecurity.body.getter + 556 (MyProjectApp.swift:95) 5 MyProject 0x0000000104837875 partial apply for closure #1 in closure #1 in MyProjectSecurity.body.getter + 1 6 MyProject 0x0000000105879179 closure #1 in closure #1 in closure #1 in static Effect.run(priority:operation:catch:fileID:filePath:line:column:) + 1 (Effect.swift:97) 7 MyProject 0x000000010587f1ed partial apply for closure #1 in closure #1 in closure #1 in static Effect.run(priority:operation:catch:fileID:filePath:line:column:) + 1 8 MyProject 0x00000001059ec229 closure #2 in DependencyValues.Continuation.yield(_:) + 1 9 MyProject 0x00000001059ec23d partial apply for closure #2 in DependencyValues.Continuation.yield(_:) + 1 10 MyProject 0x00000001059e7951 closure #1 in closure #1 in closure #1 in withDependencies(_:operation:) + 1 (WithDependencies.swift:106) 11 MyProject 0x00000001059ec221 closure #1 in closure #1 in withDependencies(_:operation:) + 1 12 MyProject 0x00000001059ec241 partial apply for closure #1 in closure #1 in withDependencies(_:operation:) + 1 13 libswift_Concurrency.dylib 0x000000019e7dc311 TaskLocal.withValueImpl(_:operation:file:line:) + 1 (TaskLocal.swift:281) 14 libswift_Concurrency.dylib 0x000000019e7ae26d TaskLocal.withValue(_:operation:file:line:) + 1 (CheckedContinuation.swift:385) 15 MyProject 0x00000001059ec231 TaskLocal.withValue(_:operation:file:line:) + 1 16 MyProject 0x00000001059e76d5 closure #1 in withDependencies(_:operation:) + 1 (WithDependencies.swift:104) 17 MyProject 0x00000001059ec225 withDependencies(_:operation:) + 1 18 MyProject 0x00000001059ea2a1 DependencyValues.Continuation.yield(_:) + 1 (WithDependencies.swift:424) 19 MyProject 0x000000010587904d closure #1 in closure #1 in static Effect.run(priority:operation:catch:fileID:filePath:line:column:) + 1 (Effect.swift:95) 20 MyProject 0x000000010587f21d partial apply for closure #1 in closure #1 in static Effect.run(priority:operation:catch:fileID:filePath:line:column:) + 1 21 MyProject 0x00000001058eb745 closure #1 in closure #4 in open #1 (reducer:) in RootStore.send(_:originatingFrom:) + 1 (RootStore.swift:98) 22 MyProject 0x00000001058ed8d9 partial apply for closure #1 in closure #4 in open #1 (reducer:) in RootStore.send(_:originatingFrom:) + 1 (:0) 23 MyProject 0x00000001059591f1 specialized thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A) + 1 24 MyProject 0x00000001058edd19 thunk for @escaping @callee_guaranteed @Sendable @async () -> (@out A)specialized partial apply + 1 25 libswift_Concurrency.dylib 0x000000019e811e19 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1 (Task.cpp:497) Thread 7 name: Thread 7: 0 libsystem_kernel.dylib 0x00000001e2fb0728 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001e2fb3e38 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001e2fb3d50 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001e2fb3b9c mach_msg + 24 (mach_msg.c:323) 4 AXRuntime 0x00000001c9c5310c _AXMIGBroadcastNotification + 384 5 AXRuntime 0x00000001c9c52e7c __AXPushNotificationToSystemForBroadcast_block_invoke_2 + 216 6 libdispatch.dylib 0x000000019ae14370 _dispatch_call_block_and_release + 32 (init.c:1549) 7 libdispatch.dylib 0x000000019ae160d0 _dispatch_client_callout + 20 (object.m:576) 8 libdispatch.dylib 0x000000019ae1d6d8 _dispatch_lane_serial_drain + 744 (queue.c:3934) 9 libdispatch.dylib 0x000000019ae1e1e0 _dispatch_lane_invoke + 380 (queue.c:4025) 10 libdispatch.dylib 0x000000019ae29258 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:7193) 11 libdispatch.dylib 0x000000019ae28aa4 _dispatch_workloop_worker_thread + 540 (queue.c:6787) 12 libsystem_pthread.dylib 0x000000021a50fc7c _pthread_wqthread + 288 (pthread.c:2696) 13 libsystem_pthread.dylib 0x000000021a50c488 start_wqthread + 8 (:-1) Thread 8: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 9: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 10: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 11 name: Thread 11: 0 libsystem_kernel.dylib 0x00000001e2fb0728 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001e2fb3e38 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001e2fb3d50 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001e2fb3b9c mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x000000019316d7cc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2617) 5 CoreFoundation 0x000000019316ce78 __CFRunLoopRun + 1212 (CFRunLoop.c:3001) 6 CoreFoundation 0x000000019316c5b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414) 7 Foundation 0x0000000191e02f00 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373) 8 Foundation 0x0000000191e02d50 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420) 9 UIKitCore 0x0000000195cd5a44 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1212) 10 Foundation 0x0000000191e14058 __NSThread__start__ + 724 (NSThread.m:991) 11 libsystem_pthread.dylib 0x000000021a51137c _pthread_start + 136 (pthread.c:931) 12 libsystem_pthread.dylib 0x000000021a50c494 thread_start + 8 (:-1) Thread 12 name: Thread 12: 0 libsystem_kernel.dylib 0x00000001e2fb0728 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001e2fb3e38 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001e2fb3d50 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001e2fb3b9c mach_msg + 24 (mach_msg.c:323) 4 MyProject 0x0000000105da3850 FIRCLSMachExceptionReadMessage + 56 (FIRCLSMachException.c:192) 5 MyProject 0x0000000105da3850 FIRCLSMachExceptionServer + 104 (FIRCLSMachException.c:168) 6 libsystem_pthread.dylib 0x000000021a51137c _pthread_start + 136 (pthread.c:931) 7 libsystem_pthread.dylib 0x000000021a50c494 thread_start + 8 (:-1) Thread 13 name: Thread 13: 0 libsystem_kernel.dylib 0x00000001e2fb0728 mach_msg2_trap + 8 (:-1) 1 libsystem_kernel.dylib 0x00000001e2fb3e38 mach_msg2_internal + 80 (mach_msg.c:201) 2 libsystem_kernel.dylib 0x00000001e2fb3d50 mach_msg_overwrite + 424 (mach_msg.c:0) 3 libsystem_kernel.dylib 0x00000001e2fb3b9c mach_msg + 24 (mach_msg.c:323) 4 CoreFoundation 0x000000019316d7cc __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2617) 5 CoreFoundation 0x000000019316ce78 __CFRunLoopRun + 1212 (CFRunLoop.c:3001) 6 CoreFoundation 0x000000019316c5b8 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3414) 7 CFNetwork 0x00000001946e4f44 +[__CFN_CoreSchedulingSetRunnable _run:] + 416 (CoreSchedulingSet.mm:1473) 8 Foundation 0x0000000191e14058 __NSThread__start__ + 724 (NSThread.m:991) 9 libsystem_pthread.dylib 0x000000021a51137c _pthread_start + 136 (pthread.c:931) 10 libsystem_pthread.dylib 0x000000021a50c494 thread_start + 8 (:-1) Thread 14: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 15: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 16: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 17: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 18: 0 libsystem_pthread.dylib 0x000000021a50c480 start_wqthread + 0 (:-1) Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x000000000000006e x7: 0x0000000000000000 x8: 0x1ed97b125b08cf3c x9: 0x1ed97b13ad6e483c x10: 0x00000000000003e8 x11: 0x000000000000000b x12: 0x000000000000000b x13: 0x00000001935c8b84 x14: 0x00000000001ff800 x15: 0x00000000000007fb x16: 0x0000000000000148 x17: 0x00000001f6668700 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000103 x21: 0x00000001f66687e0 x22: 0x0000000000000007 x23: 0x00000001060edb36 x24: 0x0000000000000000 x25: 0x00000001f66687e0 x26: 0x0000000303ee3940 x27: 0x000000000000000f x28: 0x0000000000000000 fp: 0x000000016bc1a530 lr: 0x000000021a512ef8 sp: 0x000000016bc1a510 pc: 0x00000001e2fbb274 cpsr: 0x40001000 esr: 0x56000080 Address size fault Binary Images: 0x1041e4000 - 0x10651ffff MyProject arm64 <2e01218a1e403bdf9c42a47627bf8280> /private/var/containers/Bundle/Application/1E9A3F84-9865-4AF3-B3B9-9054A2025EAD/MyProject.app/MyProject 0x106cdc000 - 0x106ce7fff libobjc-trampolines.dylib arm64e /private/preboot/Cryptexes/OS/usr/lib/libobjc-trampolines.dylib 0x107568000 - 0x10783ffff Pendo arm64 <4338a444ad4b34698579b13ed76ede54> /private/var/containers/Bundle/Application/1E9A3F84-9865-4AF3-B3B9-9054A2025EAD/MyProject.app/Frameworks/Pendo.framework/Pendo 0x190488000 - 0x1904d8d5f libobjc.A.dylib arm64e <1a127d4447a33947bc4d9a51c4c4e157> /usr/lib/libobjc.A.dylib 0x191774000 - 0x191d13fff libswiftCore.dylib arm64e <24ec482a274c32f2aa6da809fabfdc58> /usr/lib/swift/libswiftCore.dylib 0x191d4c000 - 0x192a6afff Foundation arm64e <12e17a7ab65f35ee82d7cbc31004e223> /System/Library/Frameworks/Foundation.framework/Foundation 0x193119000 - 0x19365efff CoreFoundation arm64e <47427277ee153c17ad686886b0380b5e> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x1945e7000 - 0x1949a9fff CFNetwork arm64e /System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x1958e4000 - 0x1977a4fff UIKitCore arm64e <5bd027b10ec935fdb9f06288a525693a> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x1977a5000 - 0x198a72fff SwiftUI arm64e /System/Library/Frameworks/SwiftUI.framework/SwiftUI 0x19ae12000 - 0x19ae57fff libdispatch.dylib arm64e /usr/lib/system/libdispatch.dylib 0x19ae58000 - 0x19aed7ff3 libsystem_c.dylib arm64e <1ad666a001a831c188b9808915fb97b4> /usr/lib/system/libsystem_c.dylib 0x19e7a8000 - 0x19e82afff libswift_Concurrency.dylib arm64e <866e640d33b7308a93cbf5ed6e9f1e44> /usr/lib/swift/libswift_Concurrency.dylib 0x1b890c000 - 0x1b898f693 dyld arm64e <77c1eed22ed7396aba34e770120d81d4> /usr/lib/dyld 0x1c0562000 - 0x1c06e2ff3 libsqlite3.dylib arm64e <27d9421ec13a3e09a2c4a5033278cbc4> /usr/lib/libsqlite3.dylib 0x1c9c4d000 - 0x1c9cb3fff AXRuntime arm64e /System/Library/PrivateFrameworks/AXRuntime.framework/AXRuntime 0x1dec01000 - 0x1dec09fff GraphicsServices arm64e <227122eb72fd3ecb9f66986addd8e048> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1e2faf000 - 0x1e2fe8ffb libsystem_kernel.dylib arm64e <8d929b3bd4d639bfadbbbe59e928b332> /usr/lib/system/libsystem_kernel.dylib 0x21a423000 - 0x21a43dfff libc++abi.dylib arm64e <256c6581e6013bd1972eb869776bed2f> /usr/lib/libc++abi.dylib 0x21a50b000 - 0x21a517ff3 libsystem_pthread.dylib arm64e /usr/lib/system/libsystem_pthread.dylib ```
Expand Crash report / SDK 11.3.0 from Firebase
``` # Crashlytics - Stack trace # Application: myproject.dot.com # Platform: apple # Version: 2.14 (105) # Issue: a744604c487d9eb321b8bd6288937e6f # Session: 75cad5ff805b4c15978e35d124c0e37c_DNE_0_v2 # Date: Thu Oct 03 2024 05:49:06 GMT+0530 (India Standard Time) Fatal Exception: NSGenericException 0 CoreFoundation 0x8408c (Missing UUID 47427277ee153c17ad686886b0380b5e) 1 libobjc.A.dylib 0x172e4 objc_exception_throw 2 CoreFoundation 0x17f168 (Missing UUID 47427277ee153c17ad686886b0380b5e) 3 MyProject 0x1a001ec __53-[RCNConfigRealtime fetchLatestConfig:targetVersion:]_block_invoke_2 + 465 (RCNConfigRealtime.m:465) 4 libdispatch.dylib 0x2370 _dispatch_call_block_and_release 5 libdispatch.dylib 0x40d0 _dispatch_client_callout 6 libdispatch.dylib 0x129e0 _dispatch_main_queue_drain 7 libdispatch.dylib 0x125fc _dispatch_main_queue_callback_4CF 8 CoreFoundation 0x56f64 (Missing UUID 47427277ee153c17ad686886b0380b5e) 9 CoreFoundation 0x54188 (Missing UUID 47427277ee153c17ad686886b0380b5e) 10 CoreFoundation 0x535b8 (Missing UUID 47427277ee153c17ad686886b0380b5e) 11 GraphicsServices 0x11c4 GSEventRunModal 12 UIKitCore 0x3de5f0 (Missing UUID 5bd027b10ec935fdb9f06288a525693a) 13 UIKitCore 0x48d10c (Missing UUID 5bd027b10ec935fdb9f06288a525693a) 14 SwiftUI 0x126804 (Missing UUID ee7bf04621303abd99d1664bafbae422) 15 SwiftUI 0x103e68 (Missing UUID ee7bf04621303abd99d1664bafbae422) 16 SwiftUI 0x106d68 (Missing UUID ee7bf04621303abd99d1664bafbae422) 17 MyProject 0x5b786c main (MyProjectApp.swift) 18 ??? 0x1a85b7d34 (Missing) Crashed: com.google.firebase.crashlytics.ios.exception 0 MyProject 0x1bb61f4 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392) 1 MyProject 0x1bb65d4 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423) 2 MyProject 0x1bc4758 FIRCLSHandler + 34 (FIRCLSHandler.m:34) 3 MyProject 0x1bc455c __FIRCLSExceptionRecord_block_invoke + 240 (FIRCLSException.mm:240) 4 libdispatch.dylib 0x40d0 _dispatch_client_callout + 20 5 libdispatch.dylib 0x13750 _dispatch_lane_barrier_sync_invoke_and_complete + 56 6 MyProject 0x1bc34d8 FIRCLSExceptionRecord + 242 (FIRCLSException.mm:242) 7 MyProject 0x1bc4020 FIRCLSExceptionRecordNSException + 126 (FIRCLSException.mm:126) 8 MyProject 0x1bc30e0 FIRCLSTerminateHandler() + 407 (FIRCLSException.mm:407) 9 libc++abi.dylib 0x1287c std::__terminate(void (*)()) + 16 10 libc++abi.dylib 0x12820 std::terminate() + 108 11 libobjc.A.dylib 0x3f938 objc_terminate + 16 12 libdispatch.dylib 0x40e4 _dispatch_client_callout + 40 13 libdispatch.dylib 0x129e0 _dispatch_main_queue_drain + 980 14 libdispatch.dylib 0x125fc _dispatch_main_queue_callback_4CF + 44 15 CoreFoundation 0x56f64 + 16 16 CoreFoundation 0x54188 + 1996 17 CoreFoundation 0x535b8 CFRunLoopRunSpecific + 572 18 GraphicsServices 0x11c4 GSEventRunModal + 164 19 UIKitCore 0x3de5f0 + 816 20 UIKitCore 0x48d10c UIApplicationMain + 340 21 SwiftUI 0x126804 + 168 22 SwiftUI 0x103e68 + 100 23 SwiftUI 0x106d68 $s7SwiftUI3AppPAAE4mainyyFZ + 180 24 MyProject 0x5b786c main + 4337367148 (MyProjectApp.swift:4337367148) 25 ??? 0x1a85b7d34 (Missing) com.google.GoogleConfigService.FIRRemoteConfig 0 libsystem_kernel.dylib 0x153c __ulock_wait2 + 8 1 libsystem_platform.dylib 0x4258 _os_unfair_lock_lock_slow + 180 2 libsqlite3.dylib 0x8c00 sqlite3_exec + 1448 3 MyProject 0x19fa544 -[RCNConfigDBManager prepareSQL:] + 1266 (RCNConfigDBManager.m:1266) 4 MyProject 0x19f7218 -[RCNConfigDBManager insertOrUpdatePersonalizationConfig:fromSource:] + 605 (RCNConfigDBManager.m:605) 5 MyProject 0x19f01bc __42-[FIRRemoteConfig activateWithCompletion:]_block_invoke + 337 (FIRRemoteConfig.m:337) 6 libdispatch.dylib 0x2370 _dispatch_call_block_and_release + 32 7 libdispatch.dylib 0x40d0 _dispatch_client_callout + 20 8 libdispatch.dylib 0xb6d8 _dispatch_lane_serial_drain + 744 9 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 380 10 libdispatch.dylib 0x17258 _dispatch_root_queue_drain_deferred_wlh + 288 11 libdispatch.dylib 0x16aa4 _dispatch_workloop_worker_thread + 540 12 libsystem_pthread.dylib 0x4c7c _pthread_wqthread + 288 13 libsystem_pthread.dylib 0x1488 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x14b0 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x4cc8 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1488 start_wqthread + 8 com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x1728 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e38 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4d50 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4b9c mach_msg + 24 4 CoreFoundation 0x547cc + 160 5 CoreFoundation 0x53e78 + 1212 6 CoreFoundation 0x535b8 CFRunLoopRunSpecific + 572 7 Foundation 0xb6f00 + 212 8 Foundation 0xb6d50 + 64 9 UIKitCore 0x3f1a44 + 420 10 Foundation 0xc8058 + 724 11 libsystem_pthread.dylib 0x637c _pthread_start + 136 12 libsystem_pthread.dylib 0x1494 thread_start + 8 com.apple.root.user-initiated-qos.cooperative 0 libsystem_kernel.dylib 0x1484 kevent_id + 8 1 libdispatch.dylib 0x26b00 _dispatch_kq_poll + 228 2 libdispatch.dylib 0x2750c _dispatch_event_loop_wait_for_ownership + 436 3 libdispatch.dylib 0x13a20 __DISPATCH_WAIT_FOR_QUEUE__ + 340 4 libdispatch.dylib 0x135e8 _dispatch_sync_f_slow + 148 5 MyProject 0x19f09f0 -[FIRRemoteConfig configValueForKey:] + 432 (FIRRemoteConfig.m:432) 6 MyProject 0x67fbe0 EnvironmentManagerLive.remoteConfiguration(forceRefresh:) + 143 (EnvironmentManager.swift:143) 7 libswift_Concurrency.dylib 0x610e4 + 252 8 libswift_Concurrency.dylib 0x624f4 + 144 9 libdispatch.dylib 0x15d8c _dispatch_root_queue_drain + 392 10 libdispatch.dylib 0x16590 _dispatch_worker_thread2 + 156 11 libsystem_pthread.dylib 0x4c40 _pthread_wqthread + 228 12 libsystem_pthread.dylib 0x1488 start_wqthread + 8 com.google.firebase.crashlytics.MachExceptionServer 0 libsystem_kernel.dylib 0x1728 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e38 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4d50 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4b9c mach_msg + 24 4 MyProject 0x1bc4d1c FIRCLSMachExceptionServer + 196 (FIRCLSMachException.c:196) 5 libsystem_pthread.dylib 0x637c _pthread_start + 136 6 libsystem_pthread.dylib 0x1494 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x14b0 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x4cc8 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1488 start_wqthread + 8 com.google.GoogleConfigService.database 0 libsystem_kernel.dylib 0x727c stat + 8 1 libsystem_kernel.dylib 0x727c stat64 + 8 2 libsqlite3.dylib 0x16aec sqlite3_finalize + 6632 3 libsqlite3.dylib 0x160a0 sqlite3_finalize + 3996 4 libsqlite3.dylib 0x9c8d4 sqlite3_sourceid + 53896 5 libsqlite3.dylib 0x2cca8 sqlite3_step + 6432 6 libsqlite3.dylib 0x2b748 sqlite3_step + 960 7 MyProject 0x19f696c -[RCNConfigDBManager insertMainTableWithValues:fromSource:] + 467 (RCNConfigDBManager.m:467) 8 MyProject 0x19f6770 __77-[RCNConfigDBManager insertMainTableWithValues:fromSource:completionHandler:]_block_invoke + 418 (RCNConfigDBManager.m:418) 9 libdispatch.dylib 0x2370 _dispatch_call_block_and_release + 32 10 libdispatch.dylib 0x40d0 _dispatch_client_callout + 20 11 libdispatch.dylib 0xb6d8 _dispatch_lane_serial_drain + 744 12 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 380 13 libdispatch.dylib 0x17258 _dispatch_root_queue_drain_deferred_wlh + 288 14 libdispatch.dylib 0x16aa4 _dispatch_workloop_worker_thread + 540 15 libsystem_pthread.dylib 0x4c7c _pthread_wqthread + 288 16 libsystem_pthread.dylib 0x1488 start_wqthread + 8 com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x1728 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x4e38 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x4d50 mach_msg_overwrite + 424 3 libsystem_kernel.dylib 0x4b9c mach_msg + 24 4 CoreFoundation 0x547cc + 160 5 CoreFoundation 0x53e78 + 1212 6 CoreFoundation 0x535b8 CFRunLoopRunSpecific + 572 7 CFNetwork 0xfdf44 + 416 8 Foundation 0xc8058 + 724 9 libsystem_pthread.dylib 0x637c _pthread_start + 136 10 libsystem_pthread.dylib 0x1494 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x14b0 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x4cc8 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1488 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x14b0 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x4cc8 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0x1488 start_wqthread + 8 ```

SwiftUI app with AppDelegate.

Expand AppDelegate+setupRemoteConfig()
```swift final class AppDelegate: NSObject, UIApplicationDelegate { func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil ) -> Bool { log("didFinishLaunchingWithOptions", launchOptions as Any) FirebaseApp.configure() setupRemoteConfig() application.registerForRemoteNotifications() return true } private func setupRemoteConfig() { let remoteConfig = RemoteConfig.remoteConfig() let remoteSettings = RemoteConfigSettings() if remoteConfig.lastFetchStatus == .noFetchYet || !isReleaseConfiguration() { remoteSettings.minimumFetchInterval = 0 } remoteConfig.configSettings = remoteSettings remoteConfig.fetchAndActivate { status, error in log("[Remote config] fetchAndActivate status = \(status), error = \(String(describing: error))") } remoteConfig.addOnConfigUpdateListener { update, error in let keys = update?.updatedKeys ?? [] log("[Remote config] Remote config update, error = \(String(describing: error))") let sizes = keys.map { "\($0)-\(remoteConfig[$0].dataValue.count)" } log(sizes) remoteConfig.activate() } } } ```

EnvironmentManager where I want to wait a bit to download the config before app is fully initialized

Expand EnvironmentManager.swift
```swift private func remoteConfiguration(forceRefresh: Bool = false) async -> RemoteConfiguration? { if let _remote, !forceRefresh { return _remote } if remoteConfig.lastFetchStatus == .noFetchYet { do { let result: RemoteConfigUpdate? = try await withTimeout(duration: .seconds(5)) { [remoteConfig] in try await withCheckedThrowingContinuation { continuation in var registration: ConfigUpdateListenerRegistration? registration = remoteConfig.addOnConfigUpdateListener { status, error in guard registration != nil else { return } registration?.remove() registration = nil if let error = error { continuation.resume(throwing: error) } else { continuation.resume(returning: status) } } } } if let result { log("Remote config finished with updatedKeys.count = \(result.updatedKeys.count)") } else { log("Remote config finished without status") } } catch { log("Remote config finished", error) } } let configValue = remoteConfig.configValue(forKey: "app_environments") do { let remoteValue: SafeEnvironmentsRemoteConfig = try configValue.decoded() let available = remoteValue.available .map { $0.build(knownList: Self.known) } .filter { $0.enabled } let config = RemoteConfiguration(default: remoteValue.defaultEnvironmentId, available: available) _remote = config return config } catch { log(error) return nil } } ```

After the app is started I am using some keys like remoteConfig.configValue(forKey: "<key>") and by using @RemoteConfigProperty

Code like this can be ran on background thread:

let remoteConfig: HomeScreenConfig = try RemoteConfig.remoteConfig()
                                .configValue(forKey: "home_screen")
                                .decoded()

Firebase SDK Version

11.3.0

Xcode Version

15.4

Installation Method

Swift Package Manager

Firebase Product(s)

Remote Config

Targeted Platforms

iOS

Relevant Log Output

Log from Firebase report
# Crashlytics - Custom logs
# Application: myproject.dot.com
# Platform: apple
# Version: 2.14 (105)
# Issue: a744604c487d9eb321b8bd6288937e6f
# Session: 75cad5ff805b4c15978e35d124c0e37c_DNE_0_v2
# Date: Thu Oct 03 2024 05:49:06 GMT+0530 (India Standard Time)

 0 | Thu Oct 03 2024 05:48:57 GMT+0530 (India Standard Time) | MyProject/AppDelegate.swift:105> didRegisterForRemoteNotificationsWithDeviceToken, <...>
 1 | Thu Oct 03 2024 05:49:00 GMT+0530 (India Standard Time) | MyProject/AppDelegate.swift:115> Firebase registration token, <...>
 2 | Thu Oct 03 2024 05:49:00 GMT+0530 (India Standard Time) | MyProject/AppDelegate.swift:116> Apple registration token, <...>
 3 | Thu Oct 03 2024 05:49:02 GMT+0530 (India Standard Time) | MyProject/EnvironmentManager.swift:139> Remote config finished, MyProject.TimeoutHandlerError.timeoutOccured
 4 | Thu Oct 03 2024 05:49:02 GMT+0530 (India Standard Time) | MyProject/EnvironmentManager.swift:154> Swift.DecodingError.typeMismatch(Swift.Dictionary<Swift.String, Any>, Swift.DecodingError.Context(codingPath: [], debugDescription: "Expected to decode Dictionary<String, Any> but found FirebaseRemoteConfigValueDecoderHelper instead.", underlyingError: nil))
 5 | Thu Oct 03 2024 05:49:05 GMT+0530 (India Standard Time) | screen_view -> SplashScreen
10 | Thu Oct 03 2024 05:49:06 GMT+0530 (India Standard Time) | MyProject/EnvironmentManager.swift:134> Remote config finished with updatedKeys.count = 15

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
```json { "originHash" : "f52c6a316bdfde0e1c979091da2ce2362cc364314d92b6f3c5542d6a59dea745", "pins" : [ { "identity" : "abseil-cpp-binary", "kind" : "remoteSourceControl", "location" : "https://github.com/google/abseil-cpp-binary.git", "state" : { "revision" : "194a6706acbd25e4ef639bcaddea16e8758a3e27", "version" : "1.2024011602.0" } }, { "identity" : "alamofire", "kind" : "remoteSourceControl", "location" : "https://github.com/Alamofire/Alamofire.git", "state" : { "revision" : "f455c2975872ccd2d9c81594c658af65716e9b9a", "version" : "5.9.1" } }, { "identity" : "amplify-swift", "kind" : "remoteSourceControl", "location" : "https://github.com/aws-amplify/amplify-swift", "state" : { "revision" : "95d8f16780c4e11a243fdae93c386195347aea66", "version" : "2.42.1" } }, { "identity" : "amplify-swift-utils-notifications", "kind" : "remoteSourceControl", "location" : "https://github.com/aws-amplify/amplify-swift-utils-notifications.git", "state" : { "revision" : "959eec669ba97c7d923b963c3e66ca8a0b2737f6", "version" : "1.1.1" } }, { "identity" : "app-check", "kind" : "remoteSourceControl", "location" : "https://github.com/google/app-check.git", "state" : { "revision" : "21fe1af9be463a359aaf8d96789ef73fc3760d09", "version" : "11.0.1" } }, { "identity" : "aws-crt-swift", "kind" : "remoteSourceControl", "location" : "https://github.com/awslabs/aws-crt-swift", "state" : { "revision" : "7b42e0343f28b3451aab20840dc670abd12790bd", "version" : "0.36.0" } }, { "identity" : "aws-sdk-swift", "kind" : "remoteSourceControl", "location" : "https://github.com/awslabs/aws-sdk-swift.git", "state" : { "revision" : "828358a2c39d138325b0f87a2d813f4b972e5f4f", "version" : "1.0.0" } }, { "identity" : "combine-schedulers", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/combine-schedulers", "state" : { "revision" : "9fa31f4403da54855f1e2aeaeff478f4f0e40b13", "version" : "1.0.2" } }, { "identity" : "firebase-ios-sdk", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/firebase-ios-sdk", "state" : { "revision" : "f909f901bfba9e27e4e9da83242a4915d6dd64bb", "version" : "11.3.0" } }, { "identity" : "googleappmeasurement", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleAppMeasurement.git", "state" : { "revision" : "93406fd21b85e66e2d6dbf50b472161fd75c3f1f", "version" : "11.3.0" } }, { "identity" : "googledatatransport", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleDataTransport.git", "state" : { "revision" : "617af071af9aa1d6a091d59a202910ac482128f9", "version" : "10.1.0" } }, { "identity" : "googleutilities", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleUtilities.git", "state" : { "revision" : "53156c7ec267db846e6b64c9f4c4e31ba4cf75eb", "version" : "8.0.2" } }, { "identity" : "grpc-binary", "kind" : "remoteSourceControl", "location" : "https://github.com/google/grpc-binary.git", "state" : { "revision" : "f56d8fc3162de9a498377c7b6cea43431f4f5083", "version" : "1.65.1" } }, { "identity" : "gtm-session-fetcher", "kind" : "remoteSourceControl", "location" : "https://github.com/google/gtm-session-fetcher.git", "state" : { "revision" : "a2ab612cb980066ee56d90d60d8462992c07f24b", "version" : "3.5.0" } }, { "identity" : "interop-ios-for-google-sdks", "kind" : "remoteSourceControl", "location" : "https://github.com/google/interop-ios-for-google-sdks.git", "state" : { "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648", "version" : "100.0.0" } }, { "identity" : "jwtdecode.swift", "kind" : "remoteSourceControl", "location" : "https://github.com/auth0/JWTDecode.swift", "state" : { "revision" : "1e153ef009969543191970c66b7c60163c0b4a65", "version" : "3.2.0" } }, { "identity" : "keychainaccess", "kind" : "remoteSourceControl", "location" : "https://github.com/kishikawakatsumi/KeychainAccess.git", "state" : { "revision" : "84e546727d66f1adc5439debad16270d0fdd04e7", "version" : "4.2.2" } }, { "identity" : "leveldb", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/leveldb.git", "state" : { "revision" : "a0bc79961d7be727d258d33d5a6b2f1023270ba1", "version" : "1.22.5" } }, { "identity" : "nanopb", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/nanopb.git", "state" : { "revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1", "version" : "2.30910.0" } }, { "identity" : "networkimage", "kind" : "remoteSourceControl", "location" : "https://github.com/gonzalezreal/NetworkImage", "state" : { "revision" : "7aff8d1b31148d32c5933d75557d42f6323ee3d1", "version" : "6.0.0" } }, { "identity" : "obfuscatemacro", "kind" : "remoteSourceControl", "location" : "https://github.com/p-x9/ObfuscateMacro", "state" : { "revision" : "e9109d5470a32e6e79adeb45b30b448a3625fd7d", "version" : "0.7.0" } }, { "identity" : "pendo-mobile-sdk", "kind" : "remoteSourceControl", "location" : "https://github.com/pendo-io/pendo-mobile-sdk", "state" : { "revision" : "3b8de7cf0c0a844e2295472fdecd192775ef1292", "version" : "3.4.2" } }, { "identity" : "promises", "kind" : "remoteSourceControl", "location" : "https://github.com/google/promises.git", "state" : { "revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac", "version" : "2.4.0" } }, { "identity" : "sdwebimage", "kind" : "remoteSourceControl", "location" : "https://github.com/SDWebImage/SDWebImage.git", "state" : { "revision" : "8a1be70a625683bc04d6903e2935bf23f3c6d609", "version" : "5.19.7" } }, { "identity" : "sdwebimagesvgcoder", "kind" : "remoteSourceControl", "location" : "https://github.com/SDWebImage/SDWebImageSVGCoder.git", "state" : { "revision" : "950167445ab703740569869c8b7510efc9d09a26", "version" : "1.7.0" } }, { "identity" : "sdwebimageswiftui", "kind" : "remoteSourceControl", "location" : "https://github.com/SDWebImage/SDWebImageSwiftUI.git", "state" : { "revision" : "5aa947356f4ea49a0c3b9968564267f6ea5abea7", "version" : "3.1.2" } }, { "identity" : "smithy-swift", "kind" : "remoteSourceControl", "location" : "https://github.com/smithy-lang/smithy-swift", "state" : { "revision" : "0ed3440f8c41e27a0937364d5035d2d4fefb8aa3", "version" : "0.71.0" } }, { "identity" : "sqlite.swift", "kind" : "remoteSourceControl", "location" : "https://github.com/stephencelis/SQLite.swift.git", "state" : { "revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8", "version" : "0.15.3" } }, { "identity" : "swift-algorithms", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-algorithms.git", "state" : { "revision" : "f6919dfc309e7f1b56224378b11e28bab5bccc42", "version" : "1.2.0" } }, { "identity" : "swift-case-paths", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-case-paths", "state" : { "revision" : "642e6aab8e03e5f992d9c83e38c5be98cfad5078", "version" : "1.5.5" } }, { "identity" : "swift-clocks", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-clocks", "state" : { "revision" : "b9b24b69e2adda099a1fa381cda1eeec272d5b53", "version" : "1.0.5" } }, { "identity" : "swift-collections", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections", "state" : { "revision" : "671108c96644956dddcd89dd59c203dcdb36cec7", "version" : "1.1.4" } }, { "identity" : "swift-composable-architecture", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-composable-architecture", "state" : { "revision" : "8013f1a72af8ccb2b1735d7aed831a8dc07c6fd0", "version" : "1.15.0" } }, { "identity" : "swift-concurrency-extras", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-concurrency-extras", "state" : { "revision" : "6054df64b55186f08b6d0fd87152081b8ad8d613", "version" : "1.2.0" } }, { "identity" : "swift-custom-dump", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-custom-dump", "state" : { "revision" : "82645ec760917961cfa08c9c0c7104a57a0fa4b1", "version" : "1.3.3" } }, { "identity" : "swift-dependencies", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-dependencies", "state" : { "revision" : "0fc0255e780bf742abeef29dec80924f5f0ae7b9", "version" : "1.4.1" } }, { "identity" : "swift-identified-collections", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-identified-collections", "state" : { "revision" : "2f5ab6e091dd032b63dacbda052405756010dc3b", "version" : "1.1.0" } }, { "identity" : "swift-log", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-log.git", "state" : { "revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", "version" : "1.6.1" } }, { "identity" : "swift-navigation", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-navigation", "state" : { "revision" : "d1bdbd8a5d1d1dfd2e4bb1f5e2f6facb631404d4", "version" : "2.2.1" } }, { "identity" : "swift-numerics", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-numerics.git", "state" : { "revision" : "0a5bc04095a675662cf24757cc0640aa2204253b", "version" : "1.0.2" } }, { "identity" : "swift-perception", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-perception", "state" : { "revision" : "bc67aa8e461351c97282c2419153757a446ae1c9", "version" : "1.3.5" } }, { "identity" : "swift-protobuf", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-protobuf.git", "state" : { "revision" : "edb6ed4919f7756157fe02f2552b7e3850a538e5", "version" : "1.28.1" } }, { "identity" : "swift-syntax", "kind" : "remoteSourceControl", "location" : "https://github.com/swiftlang/swift-syntax.git", "state" : { "revision" : "0687f71944021d616d34d922343dcef086855920", "version" : "600.0.1" } }, { "identity" : "swift-tagged", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-tagged", "state" : { "revision" : "3907a9438f5b57d317001dc99f3f11b46882272b", "version" : "0.10.0" } }, { "identity" : "xctest-dynamic-overlay", "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay", "state" : { "revision" : "27d767d643fa2cf083d0a73d74fa84cacb53e85c", "version" : "1.4.1" } } ], "version" : 3 } ```

If using CocoaPods, the project's Podfile.lock

na

google-oss-bot commented 2 months ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

yanz-safe commented 2 months ago

Looks like one more lock is missing inside of completion handler. propogateErrors does not need to be wrapped, as it has its own lock code.

Screenshot 2024-10-03 at 15 46 17

yanz-safe commented 2 months ago

Created PR with fix https://github.com/firebase/firebase-ios-sdk/pull/13776