I followed the instructions and did react-native link react-native-firebase.
Got this error:
Something went wrong while linking. Error: Cannot read property 'buildConfigurationList' of undefined
POD file:
platform :ios, '9.0'
target 'coreapp' do
rn_path = '../node_modules/react-native'
rn_maps_path = '../node_modules/react-native-maps'
pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
pod 'React', path: rn_path, subspecs: [
'Core',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket'
]
pod 'Firebase/Core'
pod 'Firebase/Messaging'
# Add new pods below this line
pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'
# Pods for coreapp
pod 'GoogleMaps' # Remove this line if you don't want to support Google Maps on iOS
pod 'react-native-maps', path: rn_maps_path
pod 'react-native-google-maps', path: rn_maps_path
pod 'RSKImageCropper'
pod 'QBImagePickerController'
pod 'react-native-config', :path => '../node_modules/react-native-config'
pod 'RNKeychain', :path => '../node_modules/react-native-keychain'
pod 'RNFS', :path => '../node_modules/react-native-fs'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'react-native-google-maps'
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
end
end
if target.name == "React"
target.remove_from_project
end
end
end
iOS
iOS 11.3
Xcode, iOS
0.54.4
react-native-firebase: 4.2.0
Core, Messaging, Notifications
I found that there is conflict with other libraries. But still didn't found a solution.
Same issue, I'll post if I find any fixes but I have been able to successfully use rn-firebase without linking.
Is there any fixes found for this issue?
This issue has been automatically marked as stale because it has not had recent user activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.
Still getting this error.
react native itself appears to have a cacheing problem in some systems (my educated guess) and this will have to be taken up with the react-native team directly.