firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Getting errors when update to lastest version 5.16

Open adrianortuzar opened this issue 7 years ago • 2 comments

Hi currently I am working in Xcode: Version 10.1

I updated to the latest version of Firebase:

pod 'Firebase', '~> 5.16.0'
pod 'FirebaseCore', '~> 5.2.0'
pod 'FirebaseMessaging', '~> 3.3.0'
pod 'FirebasePerformance', '~> 2.2.2'
pod 'FirebaseRemoteConfig', '~> 3.1.0'

I am getting those errors when I am calling RemoteConfig.remoteConfig().fetch

5.16.0 - [Firebase/Performance][I-PRF100005] FIRInstanceID error: Error Domain=com.firebase.iid Code=1005 "(null)"

5.16.0 - [Firebase/InstanceID][I-IID003009] Failed to fetch default token Error Domain=com.firebase.iid Code=1005 "(null)"

Everything works fine when I back to:

pod 'Firebase', '~> 5.14.0'
pod 'FirebaseCore', '~>5.1.9'
pod 'FirebaseMessaging', '~> 3.2.2'
pod 'FirebasePerformance', '~> 2.2.1'
pod 'FirebaseRemoteConfig', '~> 3.1.0'

adrianortuzar avatar Feb 11 '19 13:02 adrianortuzar

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Feb 11 '19 13:02 google-oss-bot

I found that if you initialise Firebase FirebaseApp.configure() first thing in the func application(_ application: UIApplication, didFinishLaunchingWithOptions everything works fine.

adrianortuzar avatar Feb 11 '19 14:02 adrianortuzar