Well This is a very common error by xcode and it has so [many] 2 answer on StackOverflow still I am facing this in a particular situation.
My project is running fine on iOS 11 Deployment target but when I try to downgrade my deployment target to iOS 10, it start to throw Module map file not found
for every pod library.
What Have I tried:
- Updated
Podfile
platform :ios, '10.0'
pod deintegrate
then 'pod cleanand after that run
pod install`- Clean
DerivedData
folder - Clean project couple of times using the combination
cmd+opt+shift+k
&cmd+shift+k
- Check
Objective-C Bridging Header
. - Revert back deployment target to
iOS 11
and it works oniOS 11
- Removing pod which showing
Module map file not found
and then it's throwing build error where I have used those library.
How can I get out from this error?
P.S.: It's a mixed project of obj-c and swift 4.2. Xcode version 11.2.1(11B53). Cocoapods version 1.8.4