Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError when running 'pod repo-art update' command #1

Closed
ValCanBuild opened this issue Apr 18, 2016 · 4 comments
Closed

NameError when running 'pod repo-art update' command #1

ValCanBuild opened this issue Apr 18, 2016 · 4 comments
Assignees
Labels

Comments

@ValCanBuild
Copy link

ValCanBuild commented Apr 18, 2016

I've added an artifactory cocoapod using the pod repo-art add command

Since updating to cocoapods --pre last week, I get this error whenever I try and run pod repo-art update LIB_NAME

Error

NameError - uninitialized constant Pod::Command::RepoArt::Update::SourcesManager
/Users/username/.rvm/gems/ruby-2.1.5/gems/cocoapods-art-0.9.3/lib/pod/command/repo_art/update.rb:106:in `art_source_named'
/Users/username/.rvm/gems/ruby-2.1.5/gems/cocoapods-art-0.9.3/lib/pod/command/repo_art/update.rb:50:in `update'
/Users/username/.rvm/gems/ruby-2.1.5/gems/cocoapods-art-0.9.3/lib/pod/command/repo_art/update.rb:39:in `run'
/Users/username/.rvm/gems/ruby-2.1.5@global/gems/claide-1.0.0.beta.3/lib/claide/command.rb:334:in `run'
/Users/username/.rvm/gems/ruby-2.1.5@global/gems/cocoapods-1.0.0.beta.7/lib/cocoapods/command.rb:50:in `run'
/Users/username/.rvm/gems/ruby-2.1.5@global/gems/cocoapods-1.0.0.beta.7/bin/pod:44:in `<top (required)>'
/Users/username/.rvm/rubies/ruby-2.1.5/bin/pod:23:in `load'
/Users/username/.rvm/rubies/ruby-2.1.5/bin/pod:23:in `<main>'
/Users/username/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/Users/username/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'

I believe this is due to Pod::SourcesManager being replaced with Pod::Config.instance.sources_manager

@85danf
Copy link
Contributor

85danf commented Apr 18, 2016

Thanks for the heads up, I see beta 8 fixes this for now though it is in fact deprecated.

I'm reluctant to release a version of cocoapods-art with this change though as i'd like to only support release versions and not have to deal with any change that happens in betas \ snapshots.
Will definitely fix this for CocoaPods 1.0 - so I'm keeping the issue open for now.

@85danf 85danf self-assigned this Apr 18, 2016
@ValCanBuild
Copy link
Author

I think with the recent release of cocoapods 1.0, this now needs to be fixed?

@85danf
Copy link
Contributor

85danf commented May 19, 2016

Of course, you'll have it soon.
Again thanks for bringing this up

@85danf 85danf added the bug label Jun 8, 2016
@85danf
Copy link
Contributor

85danf commented Jun 8, 2016

Thanks again for bringing this up - although it was still working in pod 1.0.1 I fixed the deprecated reference.
it's out with cocoapods-art 0.9.4

@85danf 85danf closed this as completed Jun 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants