Reputation: 16764
I keep getting these errors after mistakenly running pod update. Spent the last couple of days searching for solution but nothing helped, some of my attemtps:
1) How to fix cocoapod .modulemap file not found
2) missing required module 'SwiftShims' error generated by Xcode in project
Tried all the mentioned solutions in these Q's and some other SO Q's and nothing helped.
Error:
<unknown>:0: error: module map file '/Users/admin/Library/Developer/Xcode/DerivedData/Demo-
dkfcfedygluokngempogitocknga/Build/Products/Debug-iphonesimulator/Charts/Charts.modulemap' not found
<unknown>:0: error: module map file '/Users/admin/Library/Developer/Xcode/DerivedData/Demo-
dkfcfedygluokngempogitocknga/Build/Products/Debug-iphonesimulator/Charts/Charts.modulemap' not found
<unknown>:0: error: missing required module 'SwiftShims'
This is my Podfile:
target "Demo" do
pod 'Firebase/Core'
pod 'Firebase/MLVision'
pod 'Firebase/MLVisionTextModel'
pod 'Charts', '3.2.0'
end
I'm running MacOS 10.13.6 with Xcode 10.1, Cocoa pods version is 1.7.1
Upvotes: 1
Views: 4658
Reputation: 1244
I had the error while trying to compile from the .xcodeproj instead of the .xcworkspace
(Building a React Native with Okta)
Upvotes: 2