在rn firebase中安装pod时,Target会覆盖`OTHER_LDFLAGS`构建设置

时间:2019-02-27 13:46:34

标签: ios reactjs firebase react-native cocoapods

我正在尝试在ios的React Native应用中添加Firebase。我已经使用pod init创建了Podfile。但是,当我尝试使用pod install安装pod时,出现此错误。

enter image description here

此外,当我运行该应用程序时,它也会显示以下内容:

enter image description here

我已经尝试在目标Build Settings-> Other linker标志中添加$(继承)。但是不知何故,它不起作用。

我正在使用:

  • 反应本地“ 0.58.5”
  • 反应本机Firebase“ ^ 5.2.2”

这是我的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

0 个答案:

没有答案