Skip to content

Pod Install Fails if Internal Pod Repo Unavailable (even if unused) #1571

Closed
shepting opened this Issue Nov 10, 2013 · 3 comments

2 participants

@shepting

We have an internal pod repo at https://github.int.yammer.com/yammer/CocoaPodsSpecs.git This is on the work network and I'm at home. I'm working on a separate project that doesn't need this repo, but pod install fails anyway.

Podfile

platform :ios, '6.0'

pod 'AFNetworking'

Terminal Log

shepting@quartz:~/Code/SHAutolayoutDemo/Demo$ pod install --verbose

Analyzing dependencies

Updating spec repositories
Updating spec repo `int-yammer`
  $ /usr/bin/git pull
  fatal: unable to access 'https://github.int.yammer.com/yammer/CocoaPodsSpecs.git/': Could not resolve host: github.int.yammer.com
[!] Pod::Executable pull

fatal: unable to access 'https://github.int.yammer.com/yammer/CocoaPodsSpecs.git/': Could not resolve host: github.int.yammer.com


/Users/shepting/.rvm/gems/ruby-2.0.0-p247/gems/cocoapods-0.27.1/lib/cocoapods/executable.rb:74:in `execute_command'
...
@shepting

I would have expected that missing pod repos would just be skipped when trying to install.

@Kapin
CocoaPods member
Kapin commented Nov 13, 2013

Looking into this one. I think the best approach is to filter out all of the git repos with unreachable remotes before we fetch them.

@Kapin Kapin was assigned Nov 13, 2013
@shepting

@Kapin, seems like a very reasonable approach.

@Kapin Kapin closed this in #1595 Nov 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.