Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Failed to build gem native extension. #9636

Closed
gurjitsi opened this issue Mar 23, 2020 · 1 comment
Closed

ERROR: Failed to build gem native extension. #9636

gurjitsi opened this issue Mar 23, 2020 · 1 comment

Comments

@gurjitsi
Copy link

Building native extensions. This could take a while...
ERROR: Error installing cocoapods:
ERROR: Failed to build gem native extension.

current directory: /Library/Ruby/Gems/2.3.0/gems/ffi-1.12.2/ext/ffi_c

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20200323-649-ke9uqe.rb extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/ffi-1.12.2 for inspection.
Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-18/2.3.0/ffi-1.12.2/gem_make.out

@dnkoutso
Copy link
Contributor

There is little information for us to debug here and this issue has come up before. Please search in the issues list or ask in StackOverflow instead as this does not appear to be a CocoaPods issue.

Our CI passes with all these Ruby versions:

  - 2.0.0-p647
  - 2.3.4
  - 2.4.1
  - 2.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants