Error: Module compiled with Swift 5.2.2 cannot be imported by the Swift 5.3 compiler

After download Xcode 12 beta I get this error messing during configuration.

This issue is for when you use beta version then sometimes it’s not stable or getting old Xcode cache.

The best solution is to please use Xcode 11.4.1
Download: https://developer.apple.com/download/more/?=xcode

In case if not solve or you want to keep using this version then follow this: https://stackoverflow.com/questions/46726077/module-compiled-with-swift-4-0-cannot-be-imported-in-swift-4-0-1

2 thoughts on “Error: Module compiled with Swift 5.2.2 cannot be imported by the Swift 5.3 compiler

Leave a Reply