Macos Catalina Install Cocoapods

CloudStack.Ninja is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. I want to install CocoaPods on my MacinCloud. 10.6.10 is Now Supported on MacinCloud Managed Servers with macOS Big Sur and Catalina. Apple, Mac OS X, iOS. 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.

  • Sudo gem install cocoapods -n /usr/local/bin でパスを指定してCocoaPodsを再インストールして正常に動くようになりました。 参考: XcodeMac OS Catalinaにアップデートしたらpodコマンドが通らなくなった.
  • So, issue is that in Mac OSX Catalina. The folder path /usr/local/bin is private. So, Step 1: Install Homebrew. 'Homebrew lets your access private folders and enables them to public'. Step 2: Restart Terminal or restart Mac OSX. Step 3: Run sudo gem install cocoapods or sudo gem install -n /usr/local/bin cocoapods. Step 4: Let the setup complete.

I'm trying to install Cocoapods by executing the below command:

Below error is shown on the Terminal.

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!


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.

moded@modeds-mbp ~ % sudo gem install cocoapods Password: Building native extensions. This could take a while... ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension.

Macos Catalina Install Cocoa Pods Online

current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/ext/ffic
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20201227-2974-utuq5f.rb extconf.rb checking for ffi.h... * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/$(RUBY
BASENAME) --with-ffic-dir --without-ffic-dir --with-ffic-include --without-ffic-include=${ffic-dir}/include --with-ffic-lib --without-ffic-lib=${ffic-dir}/lib --enable-system-libffi --disable-system-libffi --with-libffi-config --without-libffi-config --with-pkg-config --without-pkg-config /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in trydo': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in block in tryMacos catalina install podcompile' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:534:in withwerror' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in try

Macos Catalina Install Cocoa Pods For Sale

compile' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1109:in block in haveheader' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:959:in block in checkingfor' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in block (2 levels) in postpone' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in open' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in block in postpone' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in open' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:357:in postpone' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:958:in checkingfor' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1108:in haveheader' from extconf.rb:10:in systemlibffiusable?' from extconf.rb:42:in `'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/ffi-1.14.2/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2 for inspection. Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/ffi-1.14.2/gem
make.out