![]() ![]() Installing CocoaPods fail when I have CLT selected Log #2 package configuration for libffi is not found To see why this extension failed to compile, please check the mkmf.log which can be found here: You have to install development tools first.įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `block in try_compile'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:534:in `with_werror'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:585:in `try_compile'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1109:in `block in have_header'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:959:in `block in checking_for'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block (2 levels) in postpone'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:331:in `open'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:361:in `block in postpone'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:357:in `postpone'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:958:in `checking_for'įrom /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:1108:in `have_header'įrom extconf.rb:10:in `system_libffi_usable?' System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to generate an executable file. ruby=/System/Library/Frameworks/amework/Versions/2.6/usr/bin/$(RUBY_BASE_NAME) Check the mkmf.log file for more details. *** extconf.rb failed ***Ĭould not create Makefile due to some reason, probably lack of necessary System/Library/Frameworks/amework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0 -r. Installing CocoaPods fail when I have CLT selected Log #1 current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/ext/ffi_c I am about to lose my mind, what's wrong with my machine! I got to a point where I select the CLT hit the npx react-native init command, wait for Gem ruby to finish and reset the CLT using xcode-select -r and it works, I tried reinstalling Ruby, GCC, and thought at some point the issue was with gcc4.2 or the lack of it! So I've been batteling with this issue for few days now, when I initialize an RN project before selecting Command Line tools the initialization fails when installing dependencies and after installing Gem Ruby, when I select the Command Line tools the initialization fails at Installing Gem Ruby. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |