Open himanshuphalak7 opened 4 years ago
Hi, did you try bundle exec pod repo-art list
?
How did you determine your gem list?
Determined gems using gem list
.
bundle exec pod repo-art list
works
Hi, i also got this problem.
recently wanna use jfrog artifactory cocoapods.
following the tutorial but always got unknown command repo-art
i didn't used bundle or ruby environment.
is this required to use bundle
?
if you encounter a problem like these:
I am new to iOS and I am getting "Unknown command: "repo-art" during setup, I tried uninstalling and reinstalling and now I have a single cocoapods version installed but still keep getting this error, any insights would be appreciated
@gauri-gadkari follow these steps to fully uninstall cocoapods from Mac.
https://superuser.com/questions/686317/how-to-fully-uninstall-the-cocoapods-from-the-mac-machine
Problem are caused from M1 env.
Reinstall it via Gem sudo gem install cocoapods
and run pod repo art again.
@paolodellaquila thank you for a prompt response, I am not using an M1. These are the exact steps I used to uninstall
@paolodellaquila my bad, I was using the same commands but with sudo gem and uninstalling. When I tried gem uninstall cocoapods-art I am getting the below error which I wasnt getting with sudo gem uninstall cocoapods-art ERROR: While executing gem ... (Gem::InstallError) cocoapods-art is not installed in GEM_HOME, try:
Okok @gauri-gadkari
Please follow these steps:
I am facing same issue because cocoapod install with brew command and cocoapods-art install with gem command. so try this below solution.
uninstall both cocoapods and cocoapods-art with this command sudo gem uninstall cocoapods sudo gem uninstall cocoapods-art
than install in both in user/local/bin folder with this command sudo gem install -n /usr/local/bin cocoapods sudo gem install -n /usr/local/bin cocoapods-art
and than try pod repo-art list command
I am facing same issue because cocoapod install with brew command and cocoapods-art install with gem command. so try this below solution.
- uninstall both cocoapods and cocoapods-art with this command sudo gem uninstall cocoapods sudo gem uninstall cocoapods-art
- than install in both in user/local/bin folder with this command sudo gem install -n /usr/local/bin cocoapods sudo gem install -n /usr/local/bin cocoapods-art
and than try pod repo-art list command
Saving my time
for me, I had to uninstall cocoapods from brew too
I have installed cocoapods and cocoapods-art and can see following gems list:
activesupport (5.2.4.4, 4.2.11.1) addressable (2.7.0) algoliasearch (1.27.1) atomos (0.1.3) aws-eventstream (1.1.0) aws-partitions (1.322.0) aws-sdk-core (3.96.1) aws-sdk-kms (1.31.0) aws-sdk-s3 (1.66.0) aws-sigv4 (1.1.3) babosa (1.0.3) benchmark (default: 0.1.0) bigdecimal (default: 2.0.0) bundle (0.0.1) bundler (default: 2.1.4, 1.17.2) CFPropertyList (3.0.2) cgi (default: 0.1.0) claide (1.0.3) cocoapods (1.8.4) cocoapods-art (1.0.4) cocoapods-core (1.10.0, 1.8.4) cocoapods-deintegrate (1.0.4) cocoapods-downloader (1.4.0, 1.3.0) cocoapods-plugins (1.0.0) cocoapods-search (1.0.0) cocoapods-stats (1.1.0) cocoapods-trunk (1.4.1) cocoapods-try (1.1.0) colored (1.2) colored2 (3.1.2) commander-fastlane (4.4.6) concurrent-ruby (1.1.7, 1.1.6, 1.1.5) corefoundation (0.2.0) csv (default: 3.1.2) date (default: 3.0.0) dbm (default: 1.1.0) declarative (0.0.10) declarative-option (0.1.0) delegate (default: 0.1.0) did_you_mean (default: 1.4.0) digest-crc (0.5.1) domain_name (0.5.20190701) dotenv (2.7.5) emoji_regex (1.0.1) equatable (0.6.1) escape (0.0.4) etc (default: 1.1.0) ethon (0.12.0) excon (0.73.0) faraday (1.0.1, 0.17.3) faraday-cookie_jar (0.0.6) faraday_middleware (0.14.0) fastimage (2.1.7) fastlane (2.148.1) fastlane-plugin-update_provisioning_profile_specifier (1.3.1) fcntl (default: 1.0.0) ffi (1.13.1) fiddle (default: 1.0.0) fileutils (default: 1.4.1) forwardable (default: 1.3.1) fourflusher (2.3.1) fuzzy_match (2.0.4) gapic-common (0.3.4) getoptlong (default: 0.1.0) gh_inspector (1.1.3) google-api-client (0.38.0) google-cloud-core (1.5.0) google-cloud-env (1.3.3, 1.3.2, 1.3.1) google-cloud-errors (1.0.1, 1.0.0) google-cloud-firestore (2.3.0, 0.21.0) google-cloud-firestore-v1 (0.2.0) google-cloud-storage (1.26.1) google-gax (1.8.1) google-protobuf (3.13.0 universal-darwin, 3.12.2 universal-darwin) googleapis-common-protos (1.3.10) googleapis-common-protos-types (1.0.5) googleauth (0.13.1, 0.12.0, 0.9.0) grpc (1.32.0 universal-darwin, 1.28.0 universal-darwin) highline (1.7.10) http-cookie (1.0.3) httpclient (2.8.3) i18n (0.9.5) inifile (3.0.0) io-console (default: 0.5.6) ipaddr (default: 1.2.2) irb (default: 1.2.6) jmespath (1.4.0) json (default: 2.3.0) jwt (2.2.2, 2.2.1, 2.1.0) logger (default: 1.4.2) matrix (default: 0.2.0) memoist (0.16.2) mini_magick (4.10.1) mini_mime (1.0.2) mini_portile2 (2.4.0) minitest (5.13.0) molinillo (0.6.6) multi_json (1.15.0, 1.14.1) multi_xml (0.6.0) multipart-post (2.1.1, 2.0.0) mutex_m (default: 0.1.0) nanaimo (0.3.0, 0.2.6) nap (1.1.0) naturally (2.2.0) necromancer (0.5.1) net-pop (default: 0.1.0) net-smtp (default: 0.1.0) net-telnet (0.2.0) netrc (0.11.0) nokogiri (1.10.9) observer (default: 0.1.0) open3 (default: 0.1.0) openssl (default: 2.1.2) os (1.1.1, 1.1.0) ostruct (default: 0.2.0) pastel (0.7.3) plist (3.5.0) power_assert (1.1.7) prime (default: 0.1.1) pstore (default: 0.1.0) psych (default: 3.1.0) public_suffix (4.0.6, 4.0.5, 2.0.5) racc (default: 1.4.16) rake (13.0.1) rbtree (0.4.2) rdoc (default: 6.2.1) readline (default: 0.0.2) readline-ext (default: 0.1.0) reline (default: 0.1.5) representable (3.0.4) retriable (3.1.2) rexml (default: 3.2.3) rly (0.2.3) rouge (2.0.7) rss (default: 0.2.8) ruby-keychain (0.3.2) ruby-macho (1.4.0) rubyzip (1.3.0) sdbm (default: 1.0.0) security (0.1.3) signet (0.14.0) simctl (1.6.8) singleton (default: 0.1.0) slack-notifier (2.3.2) stringio (default: 0.1.0) strscan (default: 1.0.3) terminal-notifier (2.0.0) terminal-table (1.8.0) test-unit (3.3.4) thread_safe (0.3.6) timeout (default: 0.1.0) tracer (default: 0.1.0) tty-color (0.5.0) tty-cursor (0.7.1) tty-prompt (0.20.0) tty-reader (0.7.0) tty-screen (0.7.1) tty-spinner (0.9.3) typhoeus (1.4.0) tzinfo (1.2.6) uber (0.1.0) unf (0.1.4) unf_ext (0.0.7.7) unicode-display_width (1.7.0) uri (default: 0.10.0) webrick (default: 1.6.0) wisper (2.0.1) word_wrap (1.0.0) xcode-install (2.6.3) xcodeproj (1.19.0, 1.14.0) xcpretty (0.3.0) xcpretty-travis-formatter (1.0.0) xmlrpc (0.3.0) yaml (default: 0.1.0) zlib (default: 1.1.0)
Yet, my repo-art command is failing
pod repo-art list
[!] Unknown command:repo-art
Did you mean: repo?