Why do i get xcodebuild fatal error module map file not found from command line
问题 I have a project which uses SPM (and does not use cocoapods). It compiles and runs fine. I can run SwiftLint autocorrect from the command line and that works too. However, when I try to run jazzy on it, I am getting this error: fatal error: module map file '/Users/Alex/Library/Developer/Xcode/DerivedData/Answers-akfeigwudbzjrkewvufnejnpluej/SourcePackages/checkouts/realm-cocoa/buil d/GeneratedModuleMaps/iphoneos/RealmCore.modulemap' not found I went through many "fixes" for similar problems: