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

When a repo name is provided, pod repo-art lint fails. #68

Open
dla0510 opened this issue Nov 22, 2024 · 1 comment · May be fixed by #70
Open

When a repo name is provided, pod repo-art lint fails. #68

dla0510 opened this issue Nov 22, 2024 · 1 comment · May be fixed by #70

Comments

@dla0510
Copy link

dla0510 commented Nov 22, 2024

Plugins

cocoapods-art         : 1.1.1
cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Error

NoMethodError - undefined method `each' for an instance of Pod::ArtifactoryRepo
/opt/homebrew/lib/ruby/gems/3.3.0/gems/cocoapods-art-1.1.1/lib/pod/command/repo_art/lint.rb:37:in `run'
/opt/homebrew/lib/ruby/gems/3.3.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/lib/ruby/gems/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/lib/ruby/gems/3.3.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
/opt/homebrew/lib/ruby/gems/3.3.0/bin/pod:25:in `load'
/opt/homebrew/lib/ruby/gems/3.3.0/bin/pod:25:in `<main>'
@dla0510
Copy link
Author

dla0510 commented Nov 22, 2024

I reviewed the code and it seems that the issue arose from calling the 'each' function on an instance variable instead of an array.
I have made the necessary changes to the code and created a pull request.
I would appreciate it if you could take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant