<What is CocoaPods
CocoaPods manages library dependencies for your Xcode projects.
Catalina, error, Mac OS, OSX, solution, Miscellaneous articles on Yogesh Chauhan's Programming tips and tutorials Blog. Solution to pod install fails with json. It looks like CocoaPods 1.9.0, the latest version as of this writing, depends on a newer version of Ruby than 2.3.7. But macOS Mojave only includes Ruby 2.3.7, so you have a few different options. Upgrade to macOS Catalina and get Ruby 2.6.3. Use Ruby Version Manager to install a newer version of Ruby. Install an older version of CocoaPods. Sudo gem install cocoapods. Mac OS X 10.11后 sudo gem install -n /usr/local/bin cocoapods. 由于本机的系统是10.15所以选择后者命令输入 sudo gem install -n /usr/local/bin cocoapods. Sudo gem install -n /usr/local/bin cocoapods Successfully installed cocoapods-1.8.4 Parsing documentation for cocoapods-1.8.4 Done installing.
The dependencies for your projects are specified in a single text file called a Podfile. CocoaPods will resolve dependencies between libraries, fetch the resulting source code, then link it together in an Xcode workspace to build your project.
Ultimately the goal is to improve discoverability of, and engagement in, third party open-source libraries by creating a more centralised ecosystem.
<Prefer video?
Google have created a great overview for Route 85 video series going through this entire guide and more.
<Getting Started
<Installation
CocoaPods is built with Ruby and it will be installable with the default Rubyavailable on macOS. You can use a Ruby Version manager, however we recommend thatyou use the standard Ruby available on macOS unless you know what you're doing.
Using the default Ruby install will require you to use sudo
when installinggems. (This is only an issue for the duration of the gem installation, though.)
I'm trying to install Cocoapods by executing the below command:
Below error is shown on the Terminal.
Macos Catalina Install Cocoa Pods Reviews
Below is the output of the /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/ffi-1.13.1/mkmf.log
file.
Could anyone please help me fix this issue. Earlier I was getting an error that libffi was missing, I did try installing it by executing the below command, but still unable to install cocoapods.
Thank you so much for your help in advance!
Macos Catalina Install Cocoa Pods Free
Read more here: https://stackoverflow.com/questions/64911785/getting-error-when-installing-cocoapods-on-mac-os-catalina-10-15-7
Content Attribution
This content was originally published by xpetta at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.