例如:
The following build commands failed:
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoModulesCore' from project 'Pods')
Run Code Online (Sandbox Code Playgroud)
这里过时的吊舱似乎是ExpoModulesCore
如果它不起作用,就像它对我不起作用一样,哈哈:
请遵循以下步骤:https ://stackoverflow.com/a/69384358/15421728
对于任何寻找答案的人。
跑步
The following build commands failed:
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ExpoModulesCore' from project 'Pods')
Run Code Online (Sandbox Code Playgroud)
如果还有更多过时的 pod,则对每个过时的 pod 重复之前的步骤。
小智 8
与您的依赖项相关的问题:您必须等待这些依赖项更新到 Swift 5.5,否则,您必须保留在 Xcode 12 上。就我而言,我在开发过程中更新到了 13。
小智 5
我正在使用 React Native,并且遇到了非常类似的错误。
这对我有用:
cd ios && rm -rf Pods && pod cache clean --all && pod install && cd ..Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
59258 次 |
| 最近记录: |