Search code examples
cocoapodswarnings

"Your project does not explicitly specify the CocoaPods master specs repo" warning when running pod install


After I ran pod install, I got a warning that said:

[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via pod repo remove master.

To suppress this warning please add warn_for_unused_master_specs_repo => false to your Podfile.

Why did I get this warning? Previously, I was able to ran pod install without any warnings.

Here's another detail if that's helpful: I wasn't able to use sudo gem install to install/upgrade CocoaPods, so I used this command instead:

sudo gem install -n /usr/local/bin cocoapods

Solution

  • Run the command pod repo remove master