Useful or not, from you.
react-native-firebase 'FirebaseCore/FirebaseCore.h' file not found -- only on iOS Release config

Issue

Build failed on Release configuration when trying to Archive, however works fine on Debug configuration on Run. Already tried delete Pods and node_modules, reinstall over and over again, same result. Moving to earlier RNFirebase version 4.1.0 ( with pod 'Firebase/Core', '~> 4.13.0' ) , is not an option since the Firebase/Functions module has runtime error on that particular version, even though the Archive/Release is successful using that version

Build error:

'FirebaseCore/FirebaseCore.h' file not found

Podfile

target 'App' do
  use_frameworks!

  pod 'AppCenter/Crashes', '~> 1.6.1'
  pod 'AppCenter/Analytics', '~> 1.6.1'
  pod 'AppCenterReactNativeShared', '~> 1.5.1'

  # Required by RNFirebase
  pod 'Firebase/Core'
  pod 'Firebase/Functions'
  pod 'Firebase/Auth'
  pod 'Firebase/Database'
  pod 'Firebase/DynamicLinks'
  pod 'Firebase/Firestore'
  pod 'Firebase/Messaging'
  pod 'Firebase/RemoteConfig'

end

Environment

  1. Application Target Platform: iOS
  2. Development Operating System: macOS High Sierra 10.13.4
  3. Build Tools: XCode 9.4
  4. React Native version: 0.55.3
  5. RNFirebase Version: 4.2.0
  6. Firebase Module: Core, Functions, Auth, Firestore, Messaging

screen shot 2018-06-01 at 17 44 30

That's a useful answer
Without any help

@cayleyh dude, I owe you a beer! You saved my weekend. I spent 10 hrs on this to no avail. Until I came across your solution. Thanks for sharing, it worked for me.