这是xcode的一个非常常见的错误,它在StackOverflow上有so many的答案,但在特定情况下我仍然会遇到此问题。
我的项目在iOS 11部署目标上运行良好,但是当我尝试将部署目标降级到iOS 10时,它开始为每个pod库抛出Module map file not found
。
我尝试了什么:
Podfile
platform :ios, '10.0'
pod deintegrate
然后'pod clean and after that run
pod install` DerivedData
文件夹cmd+opt+shit+k
和cmd+shit+k
Objective-C Bridging Header
。iOS 11
,并且可以在iOS 11
上使用Module map file not found
的pod,然后在使用这些库的地方抛出构建错误。如何摆脱这个错误?
PS: 这是obj-c和swift 4.2的混合项目。 Xcode版本11.2.1(11B53)。 Cocoapods版本1.8.4