【发布时间】:2020-03-02 10:00:45
【问题描述】:
我是 swift 编码和编程新手 我尝试在我当前的终端上安装 2 个带有终端的 firebase pod FirebaseAuth 和 FirebaseFirestore 项目,但终端向我显示了一些错误,它不会安装 pod 错误是: 在 Mac OS X 10.15 上 1-pod 安装失败并出现 json 错误 2-无效的 Podfile:pod 安装失败并出现 use_native_modules! 3-pod 搜索 我的 pod 文件内容是
platform :ios, '13.0'
target 'Flash Chat iOS13' do
use_frameworks!
# Pods for Flash Chat iOS13
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
end
有人知道如何解决这个问题吗?
【问题讨论】:
-
您好,欢迎来到 StackOverflow。你搜索过这个吗?
-
你在终端写“pod install”的文件夹是什么?
-
请将您的整个 podfile 复制并粘贴到问题中。此外,请确保您完全退出 XCode。然后在终端中导航项目文件夹并通过在终端中键入 LS 来验证您是否在正确的目录(文件夹)中(大写或小写)并观察输出,因为它应该是三个项目;您的项目名称 (Flash Chat iOS13.xcodeproj) 一个名为 podfile 的文件和您的项目。然后在终端中输入 pod install。报告结果
标签: ios swift firebase cocoapods