Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’

RNFirebaseAuth.m is referring to error constants that don’t exist in the lib installed by Pod.

Getting this for below error constants

FIRAuthErrorCodeInvalidRecipientEmail
FIRAuthErrorCodeInvalidSender
FIRAuthErrorCodeInvalidMessagePayload
FIRAuthErrorCodeExpiredActionCode

Versions:
react: 16.0.0-alpha.6
react-native: 0.43.0
node: 7.3.0
npm: 3.10.10
react-native-firebase: 1.0.0-alpha12

Podfile

target 'LiveScoreCaster' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!
  # Pods for 'LiveScoreCaster'
end

# RNFirebase
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/AppIndexing'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'

Podfile.lock

PODS:
  - Firebase/Analytics (3.9.0):
    - Firebase/Core
  - Firebase/AppIndexing (3.9.0):
    - Firebase/Core
    - FirebaseAppIndexing (= 1.2.0)
  - Firebase/Auth (3.9.0):
    - Firebase/Core
    - FirebaseAuth (= 3.0.6)
  - Firebase/Core (3.9.0):
    - FirebaseAnalytics (= 3.5.1)
    - FirebaseCore (= 3.4.4)
  - Firebase/Crash (3.9.0):
    - Firebase/Core
    - FirebaseCrash (= 1.1.3)
  - Firebase/Database (3.9.0):
    - Firebase/Core
    - FirebaseDatabase (= 3.1.0)
  - Firebase/DynamicLinks (3.9.0):
    - Firebase/Core
    - FirebaseDynamicLinks (= 1.3.1)
  - Firebase/Messaging (3.9.0):
    - Firebase/Core
    - FirebaseMessaging (= 1.2.1)
  - Firebase/RemoteConfig (3.9.0):
    - Firebase/Core
    - FirebaseRemoteConfig (= 1.3.1)
  - Firebase/Storage (3.9.0):
    - Firebase/Core
    - FirebaseStorage (= 1.0.4)
  - FirebaseAnalytics (3.5.1):
    - FirebaseCore (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseAppIndexing (1.2.0)
  - FirebaseAuth (3.0.6):
    - FirebaseAnalytics (~> 3.4)
    - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)
    - GTMSessionFetcher/Core (~> 1.1)
  - FirebaseCore (3.4.4):
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseCrash (1.1.3):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/Logger (~> 2.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseDatabase (3.1.0):
    - FirebaseAnalytics (~> 3.4)
  - FirebaseDynamicLinks (1.3.1):
    - FirebaseAnalytics (~> 3.4)
  - FirebaseInstanceID (1.0.8)
  - FirebaseMessaging (1.2.1):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/Logger (~> 2.1)
  - FirebaseRemoteConfig (1.3.1):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseStorage (1.0.4):
    - FirebaseAnalytics (~> 3.4)
    - GTMSessionFetcher/Core (~> 1.1)
  - GoogleInterchangeUtilities (1.2.2):
    - GoogleSymbolUtilities (~> 1.1)
  - GoogleSymbolUtilities (1.1.2)
  - GoogleToolboxForMac/DebugUtils (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/Defines (2.1.0)
  - GoogleToolboxForMac/Logger (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/NSData+zlib (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/NSDictionary+URLArguments (2.1.0):
    - GoogleToolboxForMac/DebugUtils (= 2.1.0)
    - GoogleToolboxForMac/Defines (= 2.1.0)
    - GoogleToolboxForMac/NSString+URLArguments (= 2.1.0)
  - GoogleToolboxForMac/NSString+URLArguments (2.1.0)
  - GTMSessionFetcher/Core (1.1.7)

DEPENDENCIES:
  - Firebase/Analytics
  - Firebase/AppIndexing
  - Firebase/Auth
  - Firebase/Core
  - Firebase/Crash
  - Firebase/Database
  - Firebase/DynamicLinks
  - Firebase/Messaging
  - Firebase/RemoteConfig
  - Firebase/Storage

SPEC CHECKSUMS:
  Firebase: ff77ffb77b317c3720fef57a60e9335cebf962e6
  FirebaseAnalytics: 6e58fc9b397664369ac7617fb0ba93fab6ba7b5b
  FirebaseAppIndexing: d0fa52ce0ad13f4b5b2f09e4b47fb0dc2213f4e9
  FirebaseAuth: 96e9674ff31d6e1f826d53e26aa003a57cab0295
  FirebaseCore: d0ed25f27b6f9158eccc439f1be6f92e81207e28
  FirebaseCrash: bafd94cd9c9373b6eb8c631705680e891f54bdb3
  FirebaseDatabase: 3ebb2edb6007c3f0f87b248f3fa212bde56a1468
  FirebaseDynamicLinks: 33f0d2092de7b30e0670c02d5747a54e70cf7700
  FirebaseInstanceID: ba1e640935235e5fac39dfa816fe7660e72e1a8a
  FirebaseMessaging: acf66347e43c5637c697060c3001d25c809a4131
  FirebaseRemoteConfig: 383a9afe0a9291ada949e3f615257928a823b594
  FirebaseStorage: c50aa353bf484072704e73b4aff1bd47adb735c4
  GoogleInterchangeUtilities: d5bc4d88d5b661ab72f9d70c58d02ca8c27ad1f7
  GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96
  GoogleToolboxForMac: 2b2596cbb7186865e98cadf2b1e262d851c2b168
  GTMSessionFetcher: a1f8ed39e4fe21c68957daed472c7afbcdf29166

PODFILE CHECKSUM: 60b13649d046053919e1a9b66670f87313671d6b

COCOAPODS: 1.2.1

1 possible answer(s) on “Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

  1. I got the same error. I’ve fixed it by clearing cocoapods cache and update:

    rm -rf "${HOME}/Library/Caches/CocoaPods"
    pod update

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’

RNFirebaseAuth.m is referring to error constants that don’t exist in the lib installed by Pod.

Getting this for below error constants

FIRAuthErrorCodeInvalidRecipientEmail
FIRAuthErrorCodeInvalidSender
FIRAuthErrorCodeInvalidMessagePayload
FIRAuthErrorCodeExpiredActionCode

Versions:
react: 16.0.0-alpha.6
react-native: 0.43.0
node: 7.3.0
npm: 3.10.10
react-native-firebase: 1.0.0-alpha12

Podfile

target 'LiveScoreCaster' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!
  # Pods for 'LiveScoreCaster'
end

# RNFirebase
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/AppIndexing'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'

Podfile.lock

PODS:
  - Firebase/Analytics (3.9.0):
    - Firebase/Core
  - Firebase/AppIndexing (3.9.0):
    - Firebase/Core
    - FirebaseAppIndexing (= 1.2.0)
  - Firebase/Auth (3.9.0):
    - Firebase/Core
    - FirebaseAuth (= 3.0.6)
  - Firebase/Core (3.9.0):
    - FirebaseAnalytics (= 3.5.1)
    - FirebaseCore (= 3.4.4)
  - Firebase/Crash (3.9.0):
    - Firebase/Core
    - FirebaseCrash (= 1.1.3)
  - Firebase/Database (3.9.0):
    - Firebase/Core
    - FirebaseDatabase (= 3.1.0)
  - Firebase/DynamicLinks (3.9.0):
    - Firebase/Core
    - FirebaseDynamicLinks (= 1.3.1)
  - Firebase/Messaging (3.9.0):
    - Firebase/Core
    - FirebaseMessaging (= 1.2.1)
  - Firebase/RemoteConfig (3.9.0):
    - Firebase/Core
    - FirebaseRemoteConfig (= 1.3.1)
  - Firebase/Storage (3.9.0):
    - Firebase/Core
    - FirebaseStorage (= 1.0.4)
  - FirebaseAnalytics (3.5.1):
    - FirebaseCore (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseAppIndexing (1.2.0)
  - FirebaseAuth (3.0.6):
    - FirebaseAnalytics (~> 3.4)
    - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)
    - GTMSessionFetcher/Core (~> 1.1)
  - FirebaseCore (3.4.4):
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseCrash (1.1.3):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/Logger (~> 2.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseDatabase (3.1.0):
    - FirebaseAnalytics (~> 3.4)
  - FirebaseDynamicLinks (1.3.1):
    - FirebaseAnalytics (~> 3.4)
  - FirebaseInstanceID (1.0.8)
  - FirebaseMessaging (1.2.1):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/Logger (~> 2.1)
  - FirebaseRemoteConfig (1.3.1):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseStorage (1.0.4):
    - FirebaseAnalytics (~> 3.4)
    - GTMSessionFetcher/Core (~> 1.1)
  - GoogleInterchangeUtilities (1.2.2):
    - GoogleSymbolUtilities (~> 1.1)
  - GoogleSymbolUtilities (1.1.2)
  - GoogleToolboxForMac/DebugUtils (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/Defines (2.1.0)
  - GoogleToolboxForMac/Logger (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/NSData+zlib (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/NSDictionary+URLArguments (2.1.0):
    - GoogleToolboxForMac/DebugUtils (= 2.1.0)
    - GoogleToolboxForMac/Defines (= 2.1.0)
    - GoogleToolboxForMac/NSString+URLArguments (= 2.1.0)
  - GoogleToolboxForMac/NSString+URLArguments (2.1.0)
  - GTMSessionFetcher/Core (1.1.7)

DEPENDENCIES:
  - Firebase/Analytics
  - Firebase/AppIndexing
  - Firebase/Auth
  - Firebase/Core
  - Firebase/Crash
  - Firebase/Database
  - Firebase/DynamicLinks
  - Firebase/Messaging
  - Firebase/RemoteConfig
  - Firebase/Storage

SPEC CHECKSUMS:
  Firebase: ff77ffb77b317c3720fef57a60e9335cebf962e6
  FirebaseAnalytics: 6e58fc9b397664369ac7617fb0ba93fab6ba7b5b
  FirebaseAppIndexing: d0fa52ce0ad13f4b5b2f09e4b47fb0dc2213f4e9
  FirebaseAuth: 96e9674ff31d6e1f826d53e26aa003a57cab0295
  FirebaseCore: d0ed25f27b6f9158eccc439f1be6f92e81207e28
  FirebaseCrash: bafd94cd9c9373b6eb8c631705680e891f54bdb3
  FirebaseDatabase: 3ebb2edb6007c3f0f87b248f3fa212bde56a1468
  FirebaseDynamicLinks: 33f0d2092de7b30e0670c02d5747a54e70cf7700
  FirebaseInstanceID: ba1e640935235e5fac39dfa816fe7660e72e1a8a
  FirebaseMessaging: acf66347e43c5637c697060c3001d25c809a4131
  FirebaseRemoteConfig: 383a9afe0a9291ada949e3f615257928a823b594
  FirebaseStorage: c50aa353bf484072704e73b4aff1bd47adb735c4
  GoogleInterchangeUtilities: d5bc4d88d5b661ab72f9d70c58d02ca8c27ad1f7
  GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96
  GoogleToolboxForMac: 2b2596cbb7186865e98cadf2b1e262d851c2b168
  GTMSessionFetcher: a1f8ed39e4fe21c68957daed472c7afbcdf29166

PODFILE CHECKSUM: 60b13649d046053919e1a9b66670f87313671d6b

COCOAPODS: 1.2.1

1 possible answer(s) on “Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

  1. I got the same error. I’ve fixed it by clearing cocoapods cache and update:

    rm -rf "${HOME}/Library/Caches/CocoaPods"
    pod update

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’

RNFirebaseAuth.m is referring to error constants that don’t exist in the lib installed by Pod.

Getting this for below error constants

FIRAuthErrorCodeInvalidRecipientEmail
FIRAuthErrorCodeInvalidSender
FIRAuthErrorCodeInvalidMessagePayload
FIRAuthErrorCodeExpiredActionCode

Versions:
react: 16.0.0-alpha.6
react-native: 0.43.0
node: 7.3.0
npm: 3.10.10
react-native-firebase: 1.0.0-alpha12

Podfile

target 'LiveScoreCaster' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!
  # Pods for 'LiveScoreCaster'
end

# RNFirebase
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/AppIndexing'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'

Podfile.lock

PODS:
  - Firebase/Analytics (3.9.0):
    - Firebase/Core
  - Firebase/AppIndexing (3.9.0):
    - Firebase/Core
    - FirebaseAppIndexing (= 1.2.0)
  - Firebase/Auth (3.9.0):
    - Firebase/Core
    - FirebaseAuth (= 3.0.6)
  - Firebase/Core (3.9.0):
    - FirebaseAnalytics (= 3.5.1)
    - FirebaseCore (= 3.4.4)
  - Firebase/Crash (3.9.0):
    - Firebase/Core
    - FirebaseCrash (= 1.1.3)
  - Firebase/Database (3.9.0):
    - Firebase/Core
    - FirebaseDatabase (= 3.1.0)
  - Firebase/DynamicLinks (3.9.0):
    - Firebase/Core
    - FirebaseDynamicLinks (= 1.3.1)
  - Firebase/Messaging (3.9.0):
    - Firebase/Core
    - FirebaseMessaging (= 1.2.1)
  - Firebase/RemoteConfig (3.9.0):
    - Firebase/Core
    - FirebaseRemoteConfig (= 1.3.1)
  - Firebase/Storage (3.9.0):
    - Firebase/Core
    - FirebaseStorage (= 1.0.4)
  - FirebaseAnalytics (3.5.1):
    - FirebaseCore (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseAppIndexing (1.2.0)
  - FirebaseAuth (3.0.6):
    - FirebaseAnalytics (~> 3.4)
    - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)
    - GTMSessionFetcher/Core (~> 1.1)
  - FirebaseCore (3.4.4):
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseCrash (1.1.3):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/Logger (~> 2.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseDatabase (3.1.0):
    - FirebaseAnalytics (~> 3.4)
  - FirebaseDynamicLinks (1.3.1):
    - FirebaseAnalytics (~> 3.4)
  - FirebaseInstanceID (1.0.8)
  - FirebaseMessaging (1.2.1):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/Logger (~> 2.1)
  - FirebaseRemoteConfig (1.3.1):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseStorage (1.0.4):
    - FirebaseAnalytics (~> 3.4)
    - GTMSessionFetcher/Core (~> 1.1)
  - GoogleInterchangeUtilities (1.2.2):
    - GoogleSymbolUtilities (~> 1.1)
  - GoogleSymbolUtilities (1.1.2)
  - GoogleToolboxForMac/DebugUtils (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/Defines (2.1.0)
  - GoogleToolboxForMac/Logger (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/NSData+zlib (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/NSDictionary+URLArguments (2.1.0):
    - GoogleToolboxForMac/DebugUtils (= 2.1.0)
    - GoogleToolboxForMac/Defines (= 2.1.0)
    - GoogleToolboxForMac/NSString+URLArguments (= 2.1.0)
  - GoogleToolboxForMac/NSString+URLArguments (2.1.0)
  - GTMSessionFetcher/Core (1.1.7)

DEPENDENCIES:
  - Firebase/Analytics
  - Firebase/AppIndexing
  - Firebase/Auth
  - Firebase/Core
  - Firebase/Crash
  - Firebase/Database
  - Firebase/DynamicLinks
  - Firebase/Messaging
  - Firebase/RemoteConfig
  - Firebase/Storage

SPEC CHECKSUMS:
  Firebase: ff77ffb77b317c3720fef57a60e9335cebf962e6
  FirebaseAnalytics: 6e58fc9b397664369ac7617fb0ba93fab6ba7b5b
  FirebaseAppIndexing: d0fa52ce0ad13f4b5b2f09e4b47fb0dc2213f4e9
  FirebaseAuth: 96e9674ff31d6e1f826d53e26aa003a57cab0295
  FirebaseCore: d0ed25f27b6f9158eccc439f1be6f92e81207e28
  FirebaseCrash: bafd94cd9c9373b6eb8c631705680e891f54bdb3
  FirebaseDatabase: 3ebb2edb6007c3f0f87b248f3fa212bde56a1468
  FirebaseDynamicLinks: 33f0d2092de7b30e0670c02d5747a54e70cf7700
  FirebaseInstanceID: ba1e640935235e5fac39dfa816fe7660e72e1a8a
  FirebaseMessaging: acf66347e43c5637c697060c3001d25c809a4131
  FirebaseRemoteConfig: 383a9afe0a9291ada949e3f615257928a823b594
  FirebaseStorage: c50aa353bf484072704e73b4aff1bd47adb735c4
  GoogleInterchangeUtilities: d5bc4d88d5b661ab72f9d70c58d02ca8c27ad1f7
  GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96
  GoogleToolboxForMac: 2b2596cbb7186865e98cadf2b1e262d851c2b168
  GTMSessionFetcher: a1f8ed39e4fe21c68957daed472c7afbcdf29166

PODFILE CHECKSUM: 60b13649d046053919e1a9b66670f87313671d6b

COCOAPODS: 1.2.1

1 possible answer(s) on “Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

  1. I got the same error. I’ve fixed it by clearing cocoapods cache and update:

    rm -rf "${HOME}/Library/Caches/CocoaPods"
    pod update

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’

RNFirebaseAuth.m is referring to error constants that don’t exist in the lib installed by Pod.

Getting this for below error constants

FIRAuthErrorCodeInvalidRecipientEmail
FIRAuthErrorCodeInvalidSender
FIRAuthErrorCodeInvalidMessagePayload
FIRAuthErrorCodeExpiredActionCode

Versions:
react: 16.0.0-alpha.6
react-native: 0.43.0
node: 7.3.0
npm: 3.10.10
react-native-firebase: 1.0.0-alpha12

Podfile

target 'LiveScoreCaster' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!
  # Pods for 'LiveScoreCaster'
end

# RNFirebase
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/AppIndexing'
pod 'Firebase/Core'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'

Podfile.lock

PODS:
  - Firebase/Analytics (3.9.0):
    - Firebase/Core
  - Firebase/AppIndexing (3.9.0):
    - Firebase/Core
    - FirebaseAppIndexing (= 1.2.0)
  - Firebase/Auth (3.9.0):
    - Firebase/Core
    - FirebaseAuth (= 3.0.6)
  - Firebase/Core (3.9.0):
    - FirebaseAnalytics (= 3.5.1)
    - FirebaseCore (= 3.4.4)
  - Firebase/Crash (3.9.0):
    - Firebase/Core
    - FirebaseCrash (= 1.1.3)
  - Firebase/Database (3.9.0):
    - Firebase/Core
    - FirebaseDatabase (= 3.1.0)
  - Firebase/DynamicLinks (3.9.0):
    - Firebase/Core
    - FirebaseDynamicLinks (= 1.3.1)
  - Firebase/Messaging (3.9.0):
    - Firebase/Core
    - FirebaseMessaging (= 1.2.1)
  - Firebase/RemoteConfig (3.9.0):
    - Firebase/Core
    - FirebaseRemoteConfig (= 1.3.1)
  - Firebase/Storage (3.9.0):
    - Firebase/Core
    - FirebaseStorage (= 1.0.4)
  - FirebaseAnalytics (3.5.1):
    - FirebaseCore (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseAppIndexing (1.2.0)
  - FirebaseAuth (3.0.6):
    - FirebaseAnalytics (~> 3.4)
    - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)
    - GTMSessionFetcher/Core (~> 1.1)
  - FirebaseCore (3.4.4):
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseCrash (1.1.3):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/Logger (~> 2.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseDatabase (3.1.0):
    - FirebaseAnalytics (~> 3.4)
  - FirebaseDynamicLinks (1.3.1):
    - FirebaseAnalytics (~> 3.4)
  - FirebaseInstanceID (1.0.8)
  - FirebaseMessaging (1.2.1):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/Logger (~> 2.1)
  - FirebaseRemoteConfig (1.3.1):
    - FirebaseAnalytics (~> 3.4)
    - FirebaseInstanceID (~> 1.0)
    - GoogleInterchangeUtilities (~> 1.2)
    - GoogleSymbolUtilities (~> 1.1)
    - GoogleToolboxForMac/NSData+zlib (~> 2.1)
  - FirebaseStorage (1.0.4):
    - FirebaseAnalytics (~> 3.4)
    - GTMSessionFetcher/Core (~> 1.1)
  - GoogleInterchangeUtilities (1.2.2):
    - GoogleSymbolUtilities (~> 1.1)
  - GoogleSymbolUtilities (1.1.2)
  - GoogleToolboxForMac/DebugUtils (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/Defines (2.1.0)
  - GoogleToolboxForMac/Logger (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/NSData+zlib (2.1.0):
    - GoogleToolboxForMac/Defines (= 2.1.0)
  - GoogleToolboxForMac/NSDictionary+URLArguments (2.1.0):
    - GoogleToolboxForMac/DebugUtils (= 2.1.0)
    - GoogleToolboxForMac/Defines (= 2.1.0)
    - GoogleToolboxForMac/NSString+URLArguments (= 2.1.0)
  - GoogleToolboxForMac/NSString+URLArguments (2.1.0)
  - GTMSessionFetcher/Core (1.1.7)

DEPENDENCIES:
  - Firebase/Analytics
  - Firebase/AppIndexing
  - Firebase/Auth
  - Firebase/Core
  - Firebase/Crash
  - Firebase/Database
  - Firebase/DynamicLinks
  - Firebase/Messaging
  - Firebase/RemoteConfig
  - Firebase/Storage

SPEC CHECKSUMS:
  Firebase: ff77ffb77b317c3720fef57a60e9335cebf962e6
  FirebaseAnalytics: 6e58fc9b397664369ac7617fb0ba93fab6ba7b5b
  FirebaseAppIndexing: d0fa52ce0ad13f4b5b2f09e4b47fb0dc2213f4e9
  FirebaseAuth: 96e9674ff31d6e1f826d53e26aa003a57cab0295
  FirebaseCore: d0ed25f27b6f9158eccc439f1be6f92e81207e28
  FirebaseCrash: bafd94cd9c9373b6eb8c631705680e891f54bdb3
  FirebaseDatabase: 3ebb2edb6007c3f0f87b248f3fa212bde56a1468
  FirebaseDynamicLinks: 33f0d2092de7b30e0670c02d5747a54e70cf7700
  FirebaseInstanceID: ba1e640935235e5fac39dfa816fe7660e72e1a8a
  FirebaseMessaging: acf66347e43c5637c697060c3001d25c809a4131
  FirebaseRemoteConfig: 383a9afe0a9291ada949e3f615257928a823b594
  FirebaseStorage: c50aa353bf484072704e73b4aff1bd47adb735c4
  GoogleInterchangeUtilities: d5bc4d88d5b661ab72f9d70c58d02ca8c27ad1f7
  GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96
  GoogleToolboxForMac: 2b2596cbb7186865e98cadf2b1e262d851c2b168
  GTMSessionFetcher: a1f8ed39e4fe21c68957daed472c7afbcdf29166

PODFILE CHECKSUM: 60b13649d046053919e1a9b66670f87313671d6b

COCOAPODS: 1.2.1

1 possible answer(s) on “Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

  1. I got the same error. I’ve fixed it by clearing cocoapods cache and update:

    rm -rf "${HOME}/Library/Caches/CocoaPods"
    pod update