【问题标题】:Filter the warning type in Xcode过滤 Xcode 中的警告类型
【发布时间】:2017-04-11 22:50:29
【问题描述】:

在我的projectXcode 中,我的代码总是有很多warning,我认为有些是导入的,有些不是我的code 的导入:

比如一个类型是:xxx is deprecaetd in iOS 8.0 - Use xxx

另一种是:Undeclared selector 'respondsToTapLike'

或其他更多。

有很多类型警告:

现在,如何过滤Buildtime 中的warning type

eg:我只想显示Method possibly missing a [super awakeFromNib] call的类型。

如果可以过滤类型,怎么办?

【问题讨论】:

  • @Poles,我不是说不显示warning,我只是想显示warning我想要的类型。
  • 在实际警告之前使用自定义警告 - #warning your custom warning message
  • @Polespole.i 的意思是展示我想要的一种 proj*s 类型。
  • 我不认为 xcode 警告可以这样过滤。

标签: ios xcode warnings


【解决方案1】:

xcode 已经有了这个。上面是'By Type',下面是关键字过滤器,这是你想要的吗?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-10-08
    • 1970-01-01
    • 2017-02-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多