LoginSignup
26
15

More than 5 years have passed since last update.

Xcode上でCocoaPodsのライブラリの警告を非表示にする方法

Last updated at Posted at 2018-09-05

広告のSDKとかは古いのだと、警告がめちゃくちゃ出てきて見通しが悪いので調べてみた。
Podfileにちょっと書くだけで出来る。

全部を非表示にしたい場合

Podfile
target 'YourProject' do

    #これを追加する。
    inhibit_all_warnings!

個別に非表示を指定したい場合

Podfile
#これを各Podに指定する。
#inhibit_warnings => true

pod 'Alamofire', '~> 4.7', :inhibit_warnings => true
pod 'SVProgressHUD', :inhibit_warnings => true
26
15
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
26
15