首页 > 解决方案 > 无法从其模块接口构建模块

问题描述

我在我的项目中添加了一个第三方 pod。虽然我可以在调试目标中很好地构建应用程序。一旦我尝试使用发布目标构建我的项目,我就会收到此构建错误。

Failed to build module 'XXXX' from its module interface; the compiler that produced it, 'Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)'

我不确定为什么它只给 Release 目标而不是 Debug 目标带来这个问题。

这里的任何帮助都会非常有帮助。我正在使用 Xcode 12.5

标签: iosobjective-cxcodeswift5xcode12

解决方案


推荐阅读