![]() If you do ls -l on the below directory, you can see what version of MacOSX.sdk is included with Xcode. ![]() If you're still on Monterey, a fresh install of Cocoapods will fail, because it needs a compatible version of the MacOSX.sdk This wasn't the case this year, Xcode 14, and Xcode 14.02 both had the MacOSX.sdlk for Monterey, but maybe with 14.1, and definitely on Xcode 14.2, Xcode include the MacOSX.sdk for Ventura. Usually when there is a new version of Xcode, the MacOSX.sdk that comes with the Xcode-beta is for the next version of MacOS. The cause of this problem is an incompatible version of MacOSX.sdk in your current version of Xcode. Something might be wrong with Ruby, but I could not figure out what I should do to fix it. Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1 for inspection. 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 /Library/Ruby/Site/2.6.0 -r. ![]() This could take a while.ĮRROR: Failed to build gem native extension.Ĭurrent directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/ext/ffi_c I tried several ways to fix it, but nothing works.īuilding native extensions. I am getting the same error over and over again and I do not know why.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |