missing required module 'SwiftShims' error generated by Xcode in project missing required module 'SwiftShims' error generated by Xcode in project ios ios

missing required module 'SwiftShims' error generated by Xcode in project


If you are using CocoaPods, open yourProject.workspace instead of yourProject.xcodeproj.


Did you try to remove the cache ?

rm -rf /Users/abdulrehman/Desktop/StudentMentor/DerivedData/ModuleCache/DLJPQMLQI1Q/

(I might have wrong copied your file path. So feel free to type it manually if there is nothing to remove at this path)


If you're working with SPM, deleting the .build folder and re-running swift build solves the issue for me.


matomo