question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updated to Xcode 8 and Firebase plugin 3.6.3, now unable to launch app

See original GitHub issue

Platform: iOS TNS: 2.3.0 Firebase version: 3.6.3

After updating to Xcode 8 and the plugin to 3.6.3 (which supposedly were going to fix compatibility issues with Xcode 8), I am now unable to launch my app. The log prints the following:

2016-09-22 21:28:04.808: <FIRInstanceID/WARNING> FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2016-09-22 21:28:04.808: <FIRInstanceID/WARNING> Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"
2016-09-22 21:28:05.974: <FIRInstanceID/WARNING> STOP!! Will reset deviceID from memory.
2016-09-22 21:28:05.974: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=6 "(null)"
2016-09-22 21:28:08.806: <FIRInstanceID/WARNING> Error removing keypair status: -34018
2016-09-22 21:28:08.806: <FIRInstanceID/WARNING> Unable to remove RSA keypair
2016-09-22 21:28:09.014: <FIRInstanceID/WARNING> Unable to generate keypair.
2016-09-22 21:28:18.329: <FIRInstanceID/WARNING> STOP!! Will reset deviceID from memory.
2016-09-22 21:28:18.330: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=6 "(null)"
2016-09-22 21:28:45.171: <FIRInstanceID/WARNING> STOP!! Will reset deviceID from memory.
2016-09-22 21:28:45.172: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=6 "(null)"
2016-09-22 21:29:25.240: <FIRInstanceID/WARNING> STOP!! Will reset deviceID from memory.
2016-09-22 21:29:25.241: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=6 "(null)"
2016-09-22 21:30:25.213: <FIRInstanceID/WARNING> STOP!! Will reset deviceID from memory.
2016-09-22 21:30:25.214: <FIRInstanceID/WARNING> Failed to fetch default token Error Domain=com.firebase.iid Code=6 "(null)"
2016-09-22 21:30:25.214: <FIRInstanceID/WARNING> Failed to retrieve the default GCM token after 5 retries

Been trying to google this error but no one has ever fixed it with an explanation to why it happened.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
d3mac123commented, Jun 30, 2017

Having the same issue (everything was working fine till I updated TNS to 3.1.1) and I started getting this error (I’ve changed the Keychain Sharing as well, without any success).

Any ideas? Using version 4.0.3 of the plugin.

1reaction
EddyVerbruggencommented, Sep 29, 2016

I found a way to get rid of this issue as I had to fix it for my Cordova Google Sign-In plugin as well (and I think the Cordova Facebook plugin suffer the same issue):

Open the Xcode project via the platforms/ios/appname.xcworkspace/ file - then select your app’s target, capabilities, enable ‘Keychain sharing’.

Please let me know if this solves the issue for you as well.

I’ve automated this for the Cordova plugin, so I may be able to do the same for this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[cloud_firestore] Xcode build fails with errors: Expected a type ...
Bug report After upgrading the Firebase dependencies to latest versions, I get the following errors when trying to build for iOS: Parse ...
Read more >
Firebase Apple SDK Release Notes - Google
To review release notes for the Firebase console and for other Firebase platforms and related SDKs, refer to the Firebase Release Notes.
Read more >
Xcode fails to start Loading a plug-in failed. - Apple Developer
Using the Apple Store, I installed Xcode 12.0. However instead of starting, the application displays a small window with a yellow triangle !...
Read more >
ios - CocoaPods could not find compatible versions for pod ...
As per the other answers, I went to the Podfile & updated: ... Then tried flutter run again but this time it was...
Read more >
Release Notes - Play services - Google Developers
Updates the Google Mobile Ads Android SDK and Firebase Ads SDK. ... PendingIntent based APIs invoked by instant apps will now correctly fail...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found