我尝试了多种方法和 Xcode 版本来安装此方法并使用它,但每次当我使用 import ConvenienceKit 时,它总是失败,并显示“没有这样的模块 ConvenienceKit”
https://github.com/MakeSchool/ConvenienceKit
可以使用use_frameworks来安装!在 Podfile 和 pod 'ConvenienceKit' 中。一切都安装得很好,只是不起作用。
我错过了什么?
最佳答案
要使用 pod,必须与您正在使用的 pod 一起在“工作空间”中工作。如果您正在使用工作区但它仍然无法工作,您可以尝试以下操作:
- 检查 CocoaPods 是否有更新
- 检查 Xcode 是否有更新
- 卸载 Xcode 并重新安装。
希望这能起作用。
关于xcode - 如何通过 Podfile Swift 安装 ConvenienceKit 框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32593607/