使用 cocoapods 来抑制第三方库引进的waring 1. 全部抑制 inhibit_all_warnings! 2.针对抑制 pod 'ReactiveCocoa', '~> 2.4', :inhibit_warnings => true 3.