【发布时间】:2016-10-08 01:05:58
【问题描述】:
在有限的时间内,我想抑制编译器在 Xcode 7.3.1 中向我显示的此类警告:
<File>: Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
我已将此编译器标志添加到 My Target/Build Phases/Compile Sources 下的所有类中:
-Wnullability-completeness
但它不起作用 - 仍然显示警告。我怎样才能摆脱警告?
【问题讨论】:
-
你清除了现有的警告吗?
标签: ios objective-c xcode