8

当我在 Xcode 13.0 中使用 Swift 5.5 为 Simulator 15 构建我的 iOS 项目时,出现以下错误

截屏

4

2 回答 2

5

与您的依赖项相关的问题:您必须等待这些依赖项更新到 Swift 5.5,否则,您必须继续使用 Xcode 12。就我而言,我在开发期间更新到 13。

于 2021-09-23T06:26:47.460 回答
0

例如:

The following build commands failed:
    CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoModulesCore' from project 'Pods')

这里过时的吊舱似乎是ExpoModulesCore

如果它不起作用,就像它不适合我一样,哈哈:

按照这个:https ://stackoverflow.com/a/69384358/15421728

对于任何寻找答案的人。

cd ios
pod update ExpoModulesCore

如果有更多过时的 pod,则对每个过时的 pod 重复上一步。

于 2022-02-13T19:50:56.793 回答