ios – Firebase SDK crashes on FBLPromise with unrecognized selector

0
31


I’ve adopted the Firebase docs for integrating my iOS app with Google Signal-in authentication, and now that I’ve the “sign-in with google” button exhibiting up it crashes instantly with this [FBLPromise HTTPBody]: unrecognized selector despatched to occasion. I’ve discovered different threads the place folks had the identical problem [1, 2] however there is not a whole lot of helpful info on the market. Some folks imagine it has to do with the Podfile, beneath I am attaching the crash dump in addition to my Podfile content material. Thanks prematurely for any assist!

Podfile

# platform :ios, '9.0'

goal 'ApartaFitPlayground' do
  # Remark the following line should you do not wish to use dynamic frameworks
  use_frameworks!

  # Pods for ApartaFitPlayground
  pod 'MaterialComponents'
  pod 'FirebaseUI'
finish

Crash dump

2022-02-21 17:42:41.609421-0800 ApartaFitPlayground[10860:1538705] -[FBLPromise HTTPBody]: unrecognized selector despatched to occasion 0x60000207bb40
2022-02-21 17:42:41.611388-0800 ApartaFitPlayground[10860:1538705] *** Terminating app as a consequence of uncaught exception 'NSInvalidArgumentException', cause: '-[FBLPromise HTTPBody]: unrecognized selector despatched to occasion 0x60000207bb40'
*** First throw name stack:
(
    0   CoreFoundation                      0x00000001803e1188 __exceptionPreprocess + 236
    1   libobjc.A.dylib                     0x0000000180193384 objc_exception_throw + 56
    2   CoreFoundation                      0x00000001803f0530 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
    3   CoreFoundation                      0x00000001803e53fc ___forwarding___ + 1408
    4   CoreFoundation                      0x00000001803e743c _CF_forwarding_prep_0 + 92
    5   GoogleDataTransport                 0x000000010578dc5c -[GDTCCTUploadOperation updateNextUploadTimeWithResponse:forTarget:] + 76
    6   GoogleDataTransport                 0x000000010578d14c __64-[GDTCCTUploadOperation sendURLRequestWithBatch:target:storage:]_block_invoke + 64
    7   FBLPromises                         0x0000000104fc92c0 __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.67 + 80
    8   FBLPromises                         0x0000000104fc89d4 __44-[FBLPromise observeOnQueue:fulfill:reject:]_block_invoke_2 + 88
    9   libdispatch.dylib                   0x00000001061a3e94 _dispatch_call_block_and_release + 24
    10  libdispatch.dylib                   0x00000001061a5694 _dispatch_client_callout + 16
    11  libdispatch.dylib                   0x00000001061aca88 _dispatch_lane_serial_drain + 1300
    12  libdispatch.dylib                   0x00000001061ad534 _dispatch_lane_invoke + 436
    13  libdispatch.dylib                   0x00000001061b9664 _dispatch_workloop_worker_thread + 820
    14  libsystem_pthread.dylib             0x00000001c99caad4 _pthread_wqthread + 284
    15  libsystem_pthread.dylib             0x00000001c99c988c start_wqthread + 8
)
libc++abi: terminating with uncaught exception of kind NSException
dyld4 config: DYLD_ROOT_PATH=/Functions/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Assets/RuntimeRoot DYLD_LIBRARY_PATH=/Customers/luisdelgado/Library/Developer/Xcode/DerivedData/ApartaFitPlayground-eamkhaawlsqbqnclyjwxadvzaxpd/Construct/Merchandise/Debug-iphonesimulator:/Functions/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Assets/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Functions/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Assets/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Functions/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Assets/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Functions/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Assets/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Customers/luisdelgado/Library/Developer/Xcode/DerivedData/ApartaFitPlayground-eamkhaawlsqbqnclyjwxadvzaxpd/Construct/Merchandise/Debug-iphonesimulator:/Customers/luisdelgado/Library/Developer/Xcode/DerivedData/ApartaFitPlayground-eamkhaawlsqbqnclyjwxadvzaxpd/Construct/Merchandise/Debug-iphonesimulator/PackageFrameworks
*** Terminating app as a consequence of uncaught exception 'NSInvalidArgumentException', cause: '-[FBLPromise HTTPBody]: unrecognized selector despatched to occasion 0x60000207bb40'
terminating with uncaught exception of kind NSException
CoreSimulator 783.5 - System: iPhone 12 Professional Max (EAEF114F-D624-40EB-831C-40ADDD5966D9) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 12 Professional Max

LEAVE A REPLY

Please enter your comment!
Please enter your name here