简体   繁体   中英

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

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM