【问题标题】:Cannot find interface declaration error Xcode 10.2 after Carthage update迦太基更新后找不到接口声明错误 Xcode 10.2
【发布时间】:2019-03-29 12:32:57
【问题描述】:

我在将 myxcode 更新到 10.2 后更新了 carthage,并且我收到 Carthage 框架类未找到警报。

找不到超类“ChartMarkerImage”的接口声明 'BalloonMarker' 的?

我的项目 swift 版本仍然是 4.0。

但该文件在 Carthage 框架中可用。

这里出了什么问题?

我尝试的是

Set toolchain to SWIFT_4_2 but no luck.
Added #import <chart/chart.h> in pch file still getting error.

【问题讨论】:

    标签: swift xcode carthage


    【解决方案1】:

    这是迦太基issue。固定版本即将推出

    UPD: 版本 0.33.0 https://github.com/Carthage/Carthage/releases/tag/0.33.0

    【讨论】:

      【解决方案2】:

      通过以下任一选项将您的 carthage 版本更新为 0.33.0

      1. link下载pkg文件

      2. 通过自制软件更新迦太基

      更新后使用“carthage update --platform ios”命令

      【讨论】:

        猜你喜欢
        • 2018-04-27
        • 1970-01-01
        • 2016-03-23
        • 2011-03-26
        • 2019-08-20
        • 2017-03-25
        • 1970-01-01
        • 1970-01-01
        • 2017-01-27
        相关资源
        最近更新 更多