I'm using cocoapods to manage my dependencies. All have been working fine. Now, When I'm creating a new project, added the following to my podfile,
platform :ios, '6.1'
pod 'RestKit', '~> 0.20.0'
when i'm doing pod install, it is continually staying on analyzing dependencies.
Any idea why this problem?
As mentioned in other answers, It takes forever because the size of cocoapods master repo is huge. This time can be reduced using the following steps. 1) Create a private specs file path on your github repository. Provide this path https://github.com/yourpathForspecs.git' as a source in your podfile.
After you have initially installed CocoaPods into your project, you can add new dependencies (or remove unused ones) by editing the Podfile. Then simply run pod install again.
Ruby was a good choice to let users monkey-patch whatever they needed for their projects. Ruby is an excellent language for CLI tools that do a lot of string manipulation. They made an effort to make sure @CocoaPods would work with the Ruby that shipped with OS X, even when not having the Xcode CLI Tools installed.
To be able to work with CocoaPods, you need to specify the path to the Ruby SDK and install the CocoaPods gem.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With