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
can't download Cocoapods #12327
Comments
Hi @elroi8. I don't recommend using Here's a very detailed step-by-step guide for installing Ruby on a Mac. |
@monfresh elroiadmin@lrwys-MacBook-Air ~ % gem install cocoapods ERROR: Error installing cocoapods: |
@elroi8 Make sure you follow the entire guide and don't skip any steps. You're still using the system Ruby because it says "The current ruby version is 2.6.10.210." If you followed the guide carefully, when you quit and relaunch your terminal, if you run
Then run I also recommend carefully reading the sections called How to install different versions of Ruby and switch between them and Recommended way to automatically switch to the correct version. |
I Also faced the same issue I am currently using the macOS Step 1: install
Step 2: Setting PATH for rbenv in
Step 3 : Set the default Ruby version for this machine Step 4: Restart the terminal, check the ruby version and install Cocopods. |
Thank you very much, I finally overcame the problem by using the latest technology instead of the cocoapodsב-8 באפר׳ 2024, בשעה 6:22, MANIKANDAN SAMINATHAN ***@***.***> כתב/ה:
I Also faced the same issue I am currently using the macOS 14.4.1 (23E224) version and ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23] which comes by default with MacOS.When I try to install Cocopods using both the sudo and sudo-less methods, the installation fails due to some dependencies of Cocopods that require the higher version.So I upgraded the Ruby version with the help of rbenv and solved the issue.
Step 1: install rbenv using Home Brew.
brew install rbenv ruby-build
Step 2: Setting PATH for rbenv in ~/.zshrc
#Setting PATH for rbenv
eval "$(rbenv init - zsh)"
Step 3 : Set the default Ruby version for this machine
rbenv global 3.1.2:
Step 4: Restart the terminal, check the ruby version and install Cocopods.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Part of the work for my project I need to install cocoapods
Unfortunately, I run into a problem that every time I put in the terminal the command - "sudo gem install cocoapods"
" and pressing the password nothing happens after that
I have a Mac computer with the newest version of iOS. I have tried until now to solve it by forums on the Internet, Apple's support center, and with the help of chatGPT, but nothing helped.
please help me
The text was updated successfully, but these errors were encountered: