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
@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.