My project was running perfect with xcode 11.4.1 but when i tried to run project xcode 12.1. I got error "Module compiled with Swift 5.2.2 cannot be imported by the Swift 5.3 compiler with xcode 12.1".
Please see attached image. Thanks!
Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
2
Answers
I have fixed this issue via remove Carthage from project and added all those modules which was in Carthage via pod and manual add BuckoNetworking files in the project because BuckoNetworking was not available in pod. Import all module in BuckoNetworking files which needed to that files to run project.
I had faced same error in Razorpay integreation in a project. I have down grade my xcode version to the supported swift version and the error gone.
Please suggest any other option, if you found. Some thing which does not require to down grade xcode version and works.