当我尝试构建我的项目时,我收到一个编译时错误,提示找不到我的 pod 的“模块映射文件”并且我缺少一个“SwiftShimes”模块。
这很奇怪,因为当我安装我的 pod 时,我所有的模块映射文件都在它们应该在的位置。
我正在使用 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