I recently changed my Macbook to a newer one (it's an M1 if that helps) and commuted my iOS app of mainly SwiftUI and Firebase, to GitHub, except for cocoapods, which I installed later in my computer to get the Firebase services.
The problem is that after running my app, the simulator crashes after 2 - 5 seconds, and prints the following error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x6000021be3a0'
I would add more code to the post but I don't know what's causing it.