Executing “sudo gem install -n /usr/local/bin cocoapods” gave me an error: “Failed to build gem native extension”.
Followed the online method, confirmed the ruby version 2.6.3, and installed rvm also reported an error (443 error), in short, tried everything I could find on stackoverflow
The final solution: specify a lower version when installing cocoapods: sudo gem install cocoapods
sudo gem install cocoapods -v 1.8.4
Directly solved.
Read More:
- Yaml Install ERROR: Cannot uninstall ‘PyYAML’.
- BUILD FAILED error when installing ruby 2.4.3
- Install MySQL ODBC connector prompt error 1918 perfect solution (non installation of VC + + library method)
- How To Install Java with Apt-Get on Ubuntu 16.04
- FreeSWITCH installation error “You must install libyuv-dev to build mod_fsv” solution
- Ruby Install Error running ‘requirements_osx_brew_update_system ruby-2.3.1
- Python installation of third-party libraries reported an error: “these packages do not match the hashes from the requirements file.”
- [Solved] Win10 install Ubuntu error: wslregisterdistribution failed with error: 0x8007019e
- How to Install FFmpeg on Linux
- [Solved] Acrobat DC 2022 Install Error: Cannot Install Acrobat Update Service
- Install the mxnet-gpu version to solve the problem of “OSError: libnccl.so.2” when importing
- Win10 installs ubuntu system, error WslRegisterDistribution failed with error: 0x8007019e
- Ubuntu install psycopg2 times: fatal error: libpq Fe. H: there is no solution to that file or directory
- How to Solve program install error 0x80070660
- How to install PIL in Python 3
- Ubuntu14.04 installation error: no such partition
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- Raspberry PI install VIM editor
- Mac: How to Install homebrew, nginx, PHP and MySQL
- Clion installing glfw_Using clion to configure Vulkan development environment on MacOS