【问题标题】:xcode 10 coreplot messaging unqualified idxcode 10 coreplot 消息传递不合格 id
【发布时间】:2018-10-24 19:59:36
【问题描述】:

我正在使用 Xcode10 和 Core-Plot 2.3。 编译时,我在 CPTTradingRangePlot 文件中不断收到以下错误。

1) 消息不合格 ID 2) 从可空指针'NSNumber * _Nullable'隐式转换为不可空指针类型'ObjectType _Nonnull'(又名'id')

任何想法。 非常感谢。

【问题讨论】:

  • 我在该文件中没有看到任何编译错误,而release-2.3 分支上的版本。您如何将 Core Plot 整合到您的应用程序中?你确定你有 2.3 分支而不是旧版本吗?

标签: core-plot xcode10


【解决方案1】:
GCC_TREAT_WARNINGS_AS_ERRORS=0

在 bulid 设置中添加配置,如下所示:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-09-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多