ios - 如何升级使用迦太基安装的现有框架

标签 ios iphone swift xcode8 carthage

我已经使用 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/

相关文章:

ios - 使用 RxSwift 重新加载 Tableview

ios - swift 3 : Convert amount value into words

iphone - 文本输入框,类似于 iPhone 上的 SMS 应用程序

iphone - 如何查找/删除 UITableViewCell 的自定义行详细信息

iOS 后台任务检测屏幕开启或关闭

ios - 如何启用移动但禁用删除 UITableView 中的某些行

swift - 获取 Entities NSSet 的最后一条记录?

ios - 按钮不改变动画中的宽度

ios - Swift 4、Firebase 5.8.0 FCM token 无

ios - 连接到 tabbarcontroller 时无法在 swift 4.2 中的导航栏上显示栏按钮项目?