Whenever I run my application (based on Firebase) in iOS Simulator, I get a few warnings printed on the console:
<FIRInstanceID/WARNING> Error failed to delete all GCM tokens from keychain Error Domain=com.google.iid Code=-34018 "(null)" <FIRInstanceID/WARNING> Error unable to save iid-token to keychain Error Domain=com.google.iid Code=-34018 "(null)" <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=502 "(null)"
However, if I run the application on the device, I have no problem and it works as expected. After further research, I discovered that a problem might exist with Firebase Cloud Messaging (FCM). After I found out, I went to GoogleService-Info.plist and I set the IS_GCM_ENABLED key to NO. However, this did not solve my problem.
source share