Mah*_*asi 20 xcode conflict cocoapods swift
我正在使用 xCode 13.1 和 macOS 12.0.1 Monterey。KingFisher我在我的 Pod 中添加和删除了它。但我的项目不再建立了。我的本地 SDK 之一收到此错误:
Failed to build module 'CbSdk';
this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.4
(swiftlang-1205.0.26.9 clang-1205.0.19.55)', while this compiler is 'Apple Swift version 5.5.1
(swiftlang-1300.0.31.4 clang-1300.0.29.6)'). Please select a toolchain which matches the SDK.
Run Code Online (Sandbox Code Playgroud)
我已经做了但没有成功的事情:
pod deintegrate和pod install。DerivedData.摘自此 Twitter 帖子。
您需要在框架目标上设置 BUILD_LIBRARY_FOR_DISTRIBUTION 构建设置
https://www.swift.org/blog/library-evolution/
https://developer.apple.com/videos/play/wwdc2019/416/
| 归档时间: |
|
| 查看次数: |
31011 次 |
| 最近记录: |