-1

After updating to Xcode 13 and trying to run my app on an iOS 15.4 simulator, I get the following error (note, this is not a repeat question).

This error doesn't occur when I run my app on an iOS 14.X simulator in Xcode 12, so why is it happening now?

Module compiled with Swift 5.3.2 cannot be imported by the Swift 5.6 compiler

What is causing this error and what steps need to be taken to fix it?

Error image

Error image #2

  • 1
    Does this answer your question? [Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler](https://stackoverflow.com/questions/58130048/module-compiled-with-swift-5-0-1-cannot-be-imported-by-the-swift-5-1-compiler) – jnpdx Apr 24 '22 at 18:22
  • I tried everything on that page but nothing worked unfortunately – Sparky Johnson Apr 26 '22 at 03:36
  • So you removed all of the Carthage artifacts and reinstalled them with Xcode 13 tooling as the command line tools? – jnpdx Apr 26 '22 at 04:47

1 Answers1

0

Clear derive data to remove compiled module of old version. Then run again