【发布时间】:2019-09-22 17:54:12
【问题描述】:
我正在尝试将 Firebase 添加到我的项目中。我刚刚在我的 Xcode 项目中添加了下面的 pod。
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Firebase/Database'
pod 'Firebase/Auth'
安装 podfile 后,我尝试将 firebase 导入我的项目。但它给了我一个错误 Firebase.h is not found.
当我从[CP] Check pods Manifest.lock 中取消选中Run script only when installing 时,会出现上述问题。之后,我将使用pod install 安装 pod。然后就会出现问题。
取消选中复选框后出现的错误:
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
【问题讨论】:
-
无法复现,请上传样例工程。
-
对不起,我无法上传整个项目 l
-
构建项目。
-
@PaulBeusterien 同样的问题老兄
标签: ios xcode firebase react-native cocoapods