Cocoapods staying on "analyzing dependencies"

I had the same problem, and since my output with --verbose was different than the linked SO answer, I'm including that response along with a verification that it worked for me:

  $ pod repo remove master
  $ pod setup
  $ pod install

Another way to fix that is to delete the Pods folder and the Podfile.lock file and run pod install again.


As of CocoaPods version 1.8.0 trunk is used instead of master. So you need to execute the following commands:

$ pod repo remove trunk
$ pod setup
$ pod install

Something that seemed to work for me:

  • Cancel first attempt using Ctrl-C
  • Reattempt using pod install

Also, once the pod has installed successfully, be sure to close the current project before opening the project.workspace.