我有"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我打开.xworkspace并在运行后收到错误消息
"'Firebase/Firebase.h' file not found "在我的“GeoFire.m”和GFQuery.m中“
发布于 2020-09-29 07:26:29
除了尝试清理缓存之外,还可以尝试更改"use_frameworks!“为了"use_modular_headers!“。这是唯一对我有效的解决方案。
target 'iosApp' do
# Comment the next line if you don't want to use dynamic frameworks
# use_frameworks!
use_modular_headers!
# Pods for iosApp
pod 'Firebase/Auth'
pod 'FirebaseUI/Auth'
pod 'FirebaseUI/Email'
pod 'FirebaseUI/OAuth'
end发布于 2020-05-02 16:47:39
我尝试安装给定的pod,但遇到了您提到的相同问题。要解决此问题,
您可以使用CMD + shift + k或product -> clean build folder。
整个项目需要重新构建。如果您有大量的pod/框架或源代码,这可能需要一些时间来重新编译。这解决了pods问题。
发布于 2020-05-03 02:02:55
通过以下方式解决:
‘pod更新’,
基本上,您可能需要执行以下步骤:
1.打开podfile并对pod进行注释
2)转到终端,确保您在项目目录中
3)‘pod uninstall’
4)打开back pods文件,插入pods,保存命令
5)转到终端...‘pod安装‘
6)在#5之后也做.....pod更新(如果你需要特定版本,最好阅读cocoapod "pod update“,这里:https://guides.cocoapods.org/using/pod-install-vs-update.html)
7)打开.xworkspace并运行
8)命令shift k(清除它)
9)可能需要重复流程#1-8
https://stackoverflow.com/questions/61555636
复制相似问题