gpt4 book ai didi

ios - 安装Xcode10.2.1还是报错 'Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler'

转载 作者:行者123 更新时间:2023-11-28 13:23:49 28 4
gpt4 key购买 nike

我在使用 Xcode11.2 时遇到错误。

Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler

由于无法重新编译框架,我将Xcode的版本降级到10.2.1来修复问题,但还是出现了与上述相同的错误。

我也尝试过使用工具链,但它显示不支持的配置如下:

The Swift standard library from the toolchain cannot be used on devices.

Select a macOS or simulator run destination instead, or use a different toolchain that only provides the compiler.

如何正确导入框架?

顺便说一句,有谁知道为什么在使用 Xcode 10.2.1 时模拟器和设备不显示?我是否遗漏了任何步骤?

最佳答案

只需选择较低的部署目标,您就可以显示模拟器 enter image description here

关于ios - 安装Xcode10.2.1还是报错 'Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compiler',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58703455/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com