【发布时间】:2018-03-25 07:45:22
【问题描述】:
我正在尝试将 Firebase Google SignIn 集成到我的 swift 项目中,但是当我通过 cocoapods 安装 SDK 时,import Firebase 出现错误“没有这样的模块”。我已经尝试过类似问题中提供的解决方案,但没有一个对我有帮助。我在下面提到了我的 podfile。
platform :ios, '9.0'
target 'swiftapp' do
use_frameworks!
pod 'Alamofire', '~> 4.5'
pod "Bottomsheet"
pod "SearchTextField"
pod 'Firebase'
pod 'FirebaseAuth'
pod 'FirebaseDatabase'
pod 'GoogleSignIn'
end
我还附上了一张图片,显示了我的项目中可用的所有Firebase 模块。
编辑:- 在我的项目中安装 Firebase 之前,我已经更新了我的 cocoapods。而且,出于测试目的,我尝试在一个新项目中安装 Firebase,它在该项目中运行良好。
编辑:- 我使用的是 1.3.1 版本的 cocoapods。
谁能帮忙。
谢谢
【问题讨论】:
-
尝试删除 DerivedData
-
@PaulBeusterien 试过了,但没用。