title: Installing ffi 1.12.2 with native extensions FAILED
body: <p>After running "gem install ffi" and trying to install it on MacOS, am getting the following error:</p>
  
  <pre><code>&gt; $ gem install ffi 
  &gt; NOTE:Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/escape-0.0.4.gemspec:18. NOTE:
  &gt; Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/fuzzy_match-2.0.4.gemspec:17.
  &gt; NOTE: Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/i18n-0.9.5.gemspec:17. NOTE:
  &gt; Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/little-plugger-1.1.4.gemspec:18.
  &gt; NOTE: Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/logging-2.2.2.gemspec:18. NOTE:
  &gt; Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/open4-1.3.4.gemspec:16. NOTE:
  &gt; Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/escape-0.0.4.gemspec:18. NOTE:
  &gt; Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/fuzzy_match-2.0.4.gemspec:17.
  &gt; NOTE: Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/i18n-0.9.5.gemspec:17. NOTE:
  &gt; Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/little-plugger-1.1.4.gemspec:18.
  &gt; NOTE: Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/logging-2.2.2.gemspec:18. NOTE:
  &gt; Gem::Specification#rubyforge_project= is deprecated with no
  &gt; replacement. It will be removed on or after 2019-12-01.
  &gt; Gem::Specification#rubyforge_project= called from
  &gt; /Users/myuser/.gem/specifications/open4-1.3.4.gemspec:16. Building
  &gt; native extensions. This could take a while... ERROR:  Error installing
  &gt; ffi:  ERROR: Failed to build gem native extension.
  &gt; 
  &gt;     current directory: /Users/georgegoci/.gem/gems/ffi-1.12.2/ext/ffi_c
  &gt; /Users/myuser/.rbenv/versions/2.7.0/bin/ruby -I
  &gt; /Users/myuser/.rbenv/versions/2.7.0/lib/ruby/2.7.0 -r
  &gt; ./siteconf20200227-34272-rl7ya0.rb extconf.rb checking for ffi.h... no
  &gt; checking for ffi.h in /usr/local/include,/usr/include/ffi... no
  &gt; checking for shlwapi.h... no checking for
  &gt; rb_thread_call_without_gvl()... yes checking for
  &gt; ruby_native_thread_p()... yes checking for ruby_thread_has_gvl_p()...
  &gt; yes creating extconf.h creating Makefile
  &gt; 
  &gt; current directory: /Users/myuser/.gem/gems/ffi-1.12.2/ext/ffi_c
  &gt; make "DESTDIR=" clean
  &gt; 
  &gt; current directory: /Users/myuser/.gem/gems/ffi-1.12.2/ext/ffi_c
  &gt; make "DESTDIR=" Configuring libffi clang: error: unsupported option
  &gt; '-print-multi-os-directory' clang: error: no input files cd
  &gt; "/Users/myuser/.gem/gems/ffi-1.12.2/ext/ffi_c/libffi-x86_64-darwin18"
  &gt; &amp;&amp; /Applications/Xcode 10_3.app/Contents/Developer/usr/bin/make
  &gt; /bin/sh: /Applications/Xcode: No such file or directory make: ***
  &gt; ["/Users/myuser/.gem/gems/ffi-1.12.2/ext/ffi_c/libffi-x86_64-darwin18"/.libs/libffi_convenience.a]
  &gt; Error 127
  &gt; 
  &gt; make failed, exit code 2
  &gt; 
  &gt; Gem files will remain installed in
  &gt; /Users/myuser/.gem/gems/ffi-1.12.2 for inspection. Results logged
  &gt; to
  &gt; /Users/myuser/.gem/extensions/x86_64-darwin-18/2.7.0/ffi-1.12.2/gem_make.out
  </code></pre>
  
  <p>I have trying this solutions as well:</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/54126734/gem-install-ffi-failed-to-build-gem-native-extension">Gem install ffi Failed to build gem native extension</a></li>
  <li><a href="https://stackoverflow.com/questions/53362614/installing-pg-1-1-3-with-native-extensions-fails">Installing pg 1.1.3 with native extensions fails</a></li>
  </ol>
  
  <p>But still no solution.</p>
  
  <p>Any ideas? </p>