有没有办法生成Xcode 8可以接收的运行时警告?

kka*_*nis 7 objective-c ios xcode8

我想#warning message为构建时错误做些什么,但是对于Xcode 8的新运行时错误.要清楚,我对使用NSLog或编译时警告打印警告不感兴趣.