我已经使用 carthage 安装了图表框架。现在需要为 swift 3 版本更新框架。
Carthage/Build/iOS/Charts.framework/Charts compiled with older version of Swift language (2.0) than previous files (3.0) for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
如何升级框架?
最佳答案
Swift 3 有一个新版本。您需要更新您的 Cartfile
以指向此版本:
github "danielgindi/Charts" == 3.0.0
然后重新运行carthage update
。
关于ios - 如何升级使用迦太基安装的现有框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40524763/