找不到“Firebase/Firebase.h”文件

Rox*_*Slj 10 ios firebase swift xcode11.3

我有“pod install”,我的 pod 文件如下所示:

# Uncomment the next line to define a global platform for your project
#platform :ios, '9.0'

target 'MyTaxii' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for MyTaxii


           pod 'Firebase/Core'
           pod 'Firebase/Database'
           pod 'Firebase/Auth'
           pod  'Firebase/Storage'
           pod 'GeoFire', '>= 1.1'

end
Run Code Online (Sandbox Code Playgroud)

我打开 .xworkspace 并运行后出现错误

"'Firebase/Firebase.h' file not found "
Run Code Online (Sandbox Code Playgroud)

在我的“GeoFire.m”和“GFQuery.m”中

Vin*_*lli 0

我尝试安装给定的 Pod,但遇到了您提到的相同问题。为了解决这个问题,

你可以做CMD + shift + kproduct -> clean build folder

整个项目需要重新构建。如果您有很多 pod/框架或源代码,则可能需要一些时间来重新编译。这解决了 Pod 问题。