这很奇怪,因为当我安装我的pods时,所有的模块映射文件都在它们应该的位置。
我正在使用Xcode 10.2和Cocoapods 1.6.1。
我尝试了以下方法: - 从我的项目中解除集成cocoapods - 清理项目 - 删除ModuleCache和DerivedData - 重新启动我的电脑
这是我遇到的错误类型:
Module map file '/Users/kaunamohammed/Library/Developer/Xcode/DerivedData/OutNow-gxdxvzwmnijmrlajtbtyclkhrgqs/Build/Products/Debug-iphoneos/CodableFirebase/CodableFirebase.modulemap' not found
我希望我的项目能够正常构建,但事实并非如此,我不确定还能做些什么。
这是我的 Podfile 的样子。
platform :ios, '10.0'
workspace 'OutNow'
target 'OutNow' do
use_modular_headers!
#Pods for OutNow
pod 'Instabug'
pod 'SwiftMessages'
pod 'CodableFirebase'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'Firebase/Firestore'
pod 'Firebase/Messaging'
pod 'Firebase/DynamicLinks'
pod 'MarqueeLabel/Swift'
pod 'RxSwift', '4.4.2'
pod 'RxCocoa', '4.4.2'
pod 'Kingfisher', '5.3.1'
pod 'InstantSearchClient', '6.0'
pod 'CoordinatorLibrary', '1.0.5'
pod 'UIScrollView-InfiniteScroll', '1.1.0'
target 'OutNowTests' do
inherit! :search_paths
# Pods for testing
end
end
platform <blah blah>
行的下方添加use_frameworks!
,就像 CodableFirebase 的安装说明中所做的那样。 - Adrian