【发布时间】:2021-09-14 21:25:22
【问题描述】:
更新编辑:构建将在真实设备上运行,但在模拟器上尝试时仍然出现这些错误。
我被困住了,想知道该怎么做。我已经在谷歌上搜索了 2 天,并尝试了我能找到的所有解决方案。一切正常,然后有一次我去运行我的应用程序,我说得到了
- 找不到“FirebaseCore/FirebaseCore.h”文件
和
- SignInWithAppleCoordinator.swift:13:8:无法构建 Objective-C 模块“Firebase”
错误。
我卡住了……
这是我的 pod 文件,你发现它有什么问题吗?请注意,在这一点上,一切都运行良好。
我使用的是 xcode 12.5,pod 版本 1.10.1。是的,我打开了工作区,但我已经清除、删除、重新安装了 pod,但无济于事。
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Draft Order' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Draft Order
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Analytics'
pod 'Firebase/Firestore'
pod 'FirebaseFirestoreSwift'
pod 'Firebase/Messaging'
end
提前致谢。
【问题讨论】:
标签: firebase swiftui cocoapods