Skip to content

Instantly share code, notes, and snippets.

@rafagan
Created April 17, 2020 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafagan/05f80cf3b4e2a58daddb11a2d6dd9dae to your computer and use it in GitHub Desktop.
Save rafagan/05f80cf3b4e2a58daddb11a2d6dd9dae to your computer and use it in GitHub Desktop.
╰─ command fastlane test ─╯
[15:51:38]: -------------------------------------------------
[15:51:38]: --- Step: Verifying required fastlane version ---
[15:51:38]: -------------------------------------------------
[15:51:38]: Your fastlane version 2.28.3 matches the minimum requirement of 2.28.3 ✅
[15:51:38]: ------------------------------
[15:51:38]: --- Step: default_platform ---
[15:51:38]: ------------------------------
[15:51:38]: Driving the lane 'ios test' 🚀
[15:51:38]: -----------------------
[15:51:38]: --- Step: cocoapods ---
[15:51:38]: -----------------------
[15:51:38]: Installing Ruby gem 'cocoapods'...
Building native extensions. This could take a while...
+------------------+----------+
| Lane Context |
+------------------+----------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios test |
+------------------+----------+
[15:51:45]: ERROR: Failed to build gem native extension.
current directory: /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/ffi-1.12.2/ext/ffi_c
/Users/rafagan/.fastlane/bin/bundle/bin/ruby -r ./siteconf20200417-7287-v4as8d.rb extconf.rb
checking for ffi.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/rafagan/.fastlane/bin/bundle/bin/$(RUBY_BASE_NAME)
--with-ffi_c-dir
--without-ffi_c-dir
--with-ffi_c-include
--without-ffi_c-include=${ffi_c-dir}/include
--with-ffi_c-lib
--without-ffi_c-lib=${ffi_c-dir}/lib
--enable-system-libffi
--disable-system-libffi
--with-libffi-config
--without-libffi-config
--with-pkg-config
--without-pkg-config
/Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:587:in `try_cpp'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:1060:in `block in have_header'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:911:in `block in checking_for'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:351:in `block (2 levels) in postpone'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:321:in `open'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:351:in `block in postpone'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:321:in `open'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:347:in `postpone'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:910:in `checking_for'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:1059:in `have_header'
from extconf.rb:10:in `system_libffi_usable?'
from extconf.rb:34:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/ffi-1.12.2/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/ffi-1.12.2 for inspection.
Results logged to /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/ffi-1.12.2/gem_make.out
+------+---------------------+-------------+
| fastlane summary |
+------+---------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------+-------------+
| 1 | Verifying required | 0 |
| | fastlane version | |
| 2 | default_platform | 0 |
| 💥 | cocoapods | 7 |
+------+---------------------+-------------+
[15:51:45]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
/Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/builder.rb:92:in `run': [!] ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
current directory: /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/ffi-1.12.2/ext/ffi_c
/Users/rafagan/.fastlane/bin/bundle/bin/ruby -r ./siteconf20200417-7287-v4as8d.rb extconf.rb
checking for ffi.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/rafagan/.fastlane/bin/bundle/bin/$(RUBY_BASE_NAME)
--with-ffi_c-dir
--without-ffi_c-dir
--with-ffi_c-include
--without-ffi_c-include=${ffi_c-dir}/include
--with-ffi_c-lib
--without-ffi_c-lib=${ffi_c-dir}/lib
--enable-system-libffi
--disable-system-libffi
--with-libffi-config
--without-libffi-config
--with-pkg-config
--without-pkg-config
/Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:587:in `try_cpp'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:1060:in `block in have_header'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:911:in `block in checking_for'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:351:in `block (2 levels) in postpone'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:321:in `open'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:351:in `block in postpone'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:321:in `open'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:347:in `postpone'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:910:in `checking_for'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/mkmf.rb:1059:in `have_header'
from extconf.rb:10:in `system_libffi_usable?'
from extconf.rb:34:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/ffi-1.12.2/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/ffi-1.12.2 for inspection.
Results logged to /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-15/2.2.0-static/ffi-1.12.2/gem_make.out
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/ext_conf_builder.rb:48:in `block in build'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/tempfile.rb:319:in `open'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/ext_conf_builder.rb:31:in `build'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/builder.rb:164:in `block (2 levels) in build_extension'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/builder.rb:163:in `chdir'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/builder.rb:163:in `block in build_extension'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/builder.rb:162:in `build_extension'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/builder.rb:201:in `block in build_extensions'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/builder.rb:198:in `each'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/ext/builder.rb:198:in `build_extensions'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/installer.rb:748:in `build_extensions'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/installer.rb:297:in `install'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/resolver/specification.rb:97:in `install'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/request_set.rb:166:in `block in install'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/request_set.rb:156:in `each'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/request_set.rb:156:in `install'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/commands/install_command.rb:250:in `install_gem'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/fastlane_require.rb:36:in `install_gem_if_needed'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/helper/gem_helper.rb:7:in `verify_gem!'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/actions/cocoapods.rb:5:in `run'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:252:in `block (2 levels) in execute_action'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:230:in `block in execute_action'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:226:in `chdir'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:226:in `execute_action'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:148:in `trigger_action_by_name'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
from Fastfile:9:in `block (2 levels) in parsing_binding'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:270:in `call'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:270:in `execute_flow_block'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:46:in `block in execute'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:104:in `block (2 levels) in run'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:40:in `run!'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:303:in `run'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in `take_off'
from /Users/rafagan/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.28.3/bin/fastlane:20:in `<top (required)>'
from /Users/rafagan/.fastlane/bin/bundle/bin/fastlane:22:in `load'
from /Users/rafagan/.fastlane/bin/bundle/bin/fastlane:22:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment