问题
I am trying to add firebase in my react native app in ios. I have created Podfile with pod init. But when i'm trying to install pod with pod install i'm getting this error.
Also when i run the app it shows this:
i have already tried adding $(inherited) in target Build Settings -> Other linker flags. But somehow it's not working.
I'm using :
- React Native "0.58.5"
- React Native Firebase "^5.2.2"
Here is my Podfile
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'movit_driver' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for movit_driver
target 'movit_driverTests' do
inherit! :search_paths
# Pods for testing
end
end
target 'movit_driver-tvOS' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
# Pods for movit_driver-tvOS
target 'movit_driver-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
来源:https://stackoverflow.com/questions/54906924/target-overrides-the-other-ldflags-build-setting-while-installing-pod-in-rn-fi