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

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

Comments

Projects
None yet
2 participants
@shepting
Contributor

shepting commented Nov 10, 2013

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

This comment has been minimized.

Show comment
Hide comment
@shepting

shepting Nov 11, 2013

Contributor

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

Contributor

shepting commented Nov 11, 2013

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

@Kapin

This comment has been minimized.

Show comment
Hide comment
@Kapin

Kapin Nov 13, 2013

Member

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.

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.

@ghost ghost assigned Kapin Nov 13, 2013

@shepting

This comment has been minimized.

Show comment
Hide comment
@shepting

shepting Nov 13, 2013

Contributor

@Kapin, seems like a very reasonable approach.

Contributor

shepting commented Nov 13, 2013

@Kapin, seems like a very reasonable approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment