[英]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).更新到 Xcode 13 并尝试在 iOS 15.4 模拟器上运行我的应用程序后,出现以下错误(请注意,这不是重复问题)。
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?当我在 Xcode 12 中的 iOS 14.X 模拟器上运行我的应用程序时,不会发生此错误,那么为什么现在会发生?
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?是什么导致了这个错误,需要采取什么步骤来修复它?
Clear derive data to remove compiled module of old version.清除派生数据以删除旧版本的已编译模块。 Then run again
然后再次运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.