Target overrides the `OTHER_LDFLAGS` build setting while installing pod in rn firebase

最后都变了- 提交于 2019-12-11 11:57:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!