简体   繁体   English

用 Swift 5.3.2 编译的模块不能被 Swift 5.6 编译器导入

[英]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?是什么导致了这个错误,需要采取什么步骤来修复它?

Error image错误图片

Error image #2错误图片#2

Clear derive data to remove compiled module of old version.清除派生数据以删除旧版本的已编译模块。 Then run again然后再次运行

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Swift 5.2.4 编译的模块不能被 Swift 5.3.1 编译器导入 - Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3.1 compiler 使用Swift 4.1.2编译的模块不能由Swift 4.2编译器导入 - Module compiled with Swift 4.1.2 cannot be imported by the Swift 4.2 compiler 使用Swift 5.0编译的模块不能由Swift 4.2.1编译器导入 - Module compiled with Swift 5.0 cannot be imported by the Swift 4.2.1 compiler Swift 5.0.1 编译的模块不能被 Swift 5.1 编译器导入 - Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler Swift 5.1编译的模块不能被Swift 5.1.2编译器导入 - Module compiled with Swift 5.1 cannot be imported by the Swift 5.1.2 compiler Swift 5.0 编译器无法导入使用 Swift 4.2.1 编译的模块 - Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler Swift 4.2.1编译器无法导入使用Swift 4.0.3编译的模块 - Module compiled with Swift 4.0.3 cannot be imported by the Swift 4.2.1 compiler 使用 Swift 5.3.1 编译的模块不能被 Swift 5.1.3 编译器导入 - Module compiled with Swift 5.3.1 cannot be imported by the Swift 5.1.3 compiler 用 Swift 5.5.1 编译的模块不能被 Swift 5.5.2 编译器 RazorPay 导入 - Module compiled with Swift 5.5.1 cannot be imported by the Swift 5.5.2 compiler RazorPay Swift 模块稳定性:Swift XZ 编译器无法导入使用 Swift XY 编译的模块 - Swift Module stability: Module compiled with Swift X.Y cannot be imported by the Swift X.Z compiler
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM