![]() It also has the route for the log, and this is what it says: package configuration for libffi is not found But I'm getting the same error, even after rebooting. I then installed the Xcode command line tools (I had to do it manually downloading it from Apple Developer because the xcode-select -install line didn't work), and tried to install cocoapods again. I know that there is a line where it says "You have to install development tools first", and at first it was true. 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 /System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/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 This is what I get: Building native extensions. My iPhone is currently running 14.5.1, and copying the 14.5 folder fixed it (using Xcode 12.4 under Catalina/10.15.7).I'm learning how to program, and I am trying to install Cocoapods, but I'm getting an error with sudo gem install cocoapods. ![]() It looks like that DeviceSupport directory only has X.Y versions, not X.Y.Z. The next time running the app from Xcode still took a little extra time it said something about copying cache files to my phone I assume that's related to the 14.5 stuff I just added with the above instructions.Īlso, ferFrassia mentioned 14.5.1 vs. (Yes, I quit Xcode before copying, then started Xcode again.) After doing the same thing through the Finder, it worked. I don't remember if it was a different error message than the unsupported iOS version, but it didn't work. ![]() I used the command line the first time ( sudo cp -r …), and Xcode didn't like it. Robske_110 missed "Platforms" in the directory path: It's Xcode.app/Contents/Developer/Platforms/atform/DeviceSupport/14.5īe sure to use the Finder to copy the directory. ![]() Robske_110's response was very helpful, but two notes: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |