Skip to content

Firebase auth crashes the app with: [GTMSessionFetcher setFetcher:forTask:]: unrecognized selector sent to instance #2512

@eyalevy

Description

@eyalevy

Describe your environment

  • Xcode version: 10.1
  • Firebase SDK version: 5.15.0
  • Firebase Component: Auth
  • Component version: 5.15.0

Describe the problem

the app crashes when using signInWithCustomToken. the error log is: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GTMSessionFetcher setFetcher:forTask:]: unrecognized selector sent to instance.
It seems there is a collision beetween firebase sdk and Trustkit (https://github.com/datatheorem/TrustKit).

Steps to reproduce:

Run the example app in this repository (react native, although it does not seem related...):
https://github.com/eyalevy/trustkit-firebase-sample

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions