Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2 for inspection. To see why this extension failed to compile, please check the mkmf.log which can be found here: from /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' from /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' from /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' from /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' from /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:357:in postpone' from /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' from extconf.rb:10:in system_libffi_usable?’ (RuntimeError) You have to install development tools first. 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. siteconf20210301-13544-9vkdzc.rb extconf.rbĬhecking for ffi.h… *** 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 /Library/Ruby/Site/2.6.0 -r. This could take a while…ĮRROR: Failed to build gem native extension. Last login: Mon Mar 1 15:19:17 on ~ % sudo gem install cocoapodsīuilding native extensions. However below is the error message I am getting My MacBook Pro is with i9 however I followed the steps and I couldn’t see the option open using rosetta… Check the box for “Open using Rosetta”, then close the Get Info windowĪlso, this article may be of assistance: Medium – 18 Jan 21.Now select the freshly renamed ‘Rosetta Terminal’ app and right-click and choose “Get Info” (or hit Command+i).Rename the duplicated Terminal app to something obvious and distinct, like ‘Rosetta Terminal’.Select Terminal.app and right-click on it, then choose “Duplicate”.Locate the Terminal application within the Utilities folder (Finder > Go menu > Utilities).LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle - /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundleįrom what I have read the solution seems to be by firstly opening Terminal with Rosetta 2. You and others are getting an error that points towards a missing ffi.c bundle as indicated by the first line in the error messages you posted above that says: You are not the first to have issues with cocoapods on an M1 chipped Mac with Big Sur. ![]() ![]() The page does exist but obviously you can’t see it which means that you are not a CWC+ member given that the thread is within the CWC+ Students area.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |