skip to Main Content

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!

https://i.stack.imgur.com/39k04.png

2

Answers


  1. Chosen as BEST ANSWER

    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.


  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search