fastlane: Badge action fail with fastlane 2.19.1

New Issue Checklist

Issue Description

im using badge action --verbose, badge update my app icon but fail after, so i had this error :

i use the action badge from a Lane in the fast file

 --- Step: Verifying required fastlane version ---
INFO [2017-03-03 09:52:33.58]: -------------------------------------------------
INFO [2017-03-03 09:52:33.58]: Your fastlane version 2.19.1 matches the minimum requirement of 2.6  ✅
INFO [2017-03-03 09:52:33.58]: ------------------------------
INFO [2017-03-03 09:52:33.58]: --- Step: default_platform ---
INFO [2017-03-03 09:52:33.58]: ------------------------------
INFO [2017-03-03 09:52:33.58]: Driving the lane 'ios addBadge' 🚀
INFO [2017-03-03 09:52:33.59]: -------------------
INFO [2017-03-03 09:52:33.59]: --- Step: badge ---
INFO [2017-03-03 09:52:33.59]: -------------------
INFO [2017-03-03 09:52:33.67]: gem 'badge' is already installed
DEBUG [2017-03-03 09:52:33.79]: Verbose active...
DEBUG [2017-03-03 09:52:33.79]: Parameters: {:dark=>nil, :custom=>nil, :no_badge=>true, :shield=>"37.0-BASKET-blue", :alpha=>nil, :shield_io_timeout=>nil, :glob=>nil, :alpha_channel=>nil, :shield_gravity=>nil, :shield_no_resize=>true}
INFO [2017-03-03 09:52:33.79]: Start adding badges...
DEBUG [2017-03-03 09:52:33.79]: Trying to load image from shield.io. Timeout: 10s
DEBUG [2017-03-03 09:52:34.21]: Adding shield.io image ontop of icon
DEBUG [2017-03-03 09:52:34.21]: Adding shield.io image ontop of icon
INFO [2017-03-03 09:52:38.13]: Badged \o/!


DEBUG [2017-03-03 09:52:38.14]: /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:146:in `trigger_action_by_name'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
Fastfile:92:in `block (2 levels) in parsing_binding'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/lane.rb:33:in `call'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/lane.rb:33:in `call'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/commands_generator.rb:105:in `block (2 levels) in run'
/usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
/usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
/usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
/usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
/usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/commands_generator.rb:302:in `run'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/cli_tools_distributor.rb:65:in `take_off'
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/bin/fastlane:15:in `<top (required)>'
/usr/local/bin/fastlane:23:in `load'
/usr/local/bin/fastlane:23:in `<main>'

ERROR [2017-03-03 10:00:12.82]: fastlane finished with errors
/usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane_core/lib/fastlane_core/ui/interface.rb:146:in `user_error!': [!] Could not find action, lane or variable ' '. Check out the documentation for more details: https://docs.fastlane.tools/actions (FastlaneCore::Interface::FastlaneError)
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane_core/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:160:in `rescue in trigger_action_by_name'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:146:in `trigger_action_by_name'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
	from Fastfile:92:in `block (2 levels) in parsing_binding'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/commands_generator.rb:105:in `block (2 levels) in run'
	from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
	from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
	from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/commands_generator.rb:302:in `run'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/commands_generator.rb:42:in `start'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/fastlane/lib/fastlane/cli_tools_distributor.rb:65:in `take_off'
	from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-2.19.1/bin/fastlane:15:in `<top (required)>'
	from /usr/local/bin/fastlane:23:in `load'
	from /usr/local/bin/fastlane:23:in `<main>'

Badge work but fail after succeed immediately

fastlane gems

Gem Version Update-Status
fastlane 2.19.1 ✅ Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
slack-notifier 1.5.1
i18n 0.8.1
thread_safe 0.3.6
tzinfo 1.2.2
minitest 5.4.3
activesupport 4.2.8
CFPropertyList 2.3.5
claide 1.0.1
colored 1.2
nanaimo 0.2.3
xcodeproj 1.4.2
rouge 1.11.1
xcpretty 0.2.4
terminal-notifier 1.7.1
unicode-display_width 1.1.3
terminal-table 1.7.3
plist 3.2.0
public_suffix 2.0.5
addressable 2.5.0
multipart-post 2.0.0
word_wrap 1.0.0
tty-screen 0.5.0
babosa 1.0.2
highline 1.7.8
commander 4.4.3
excon 0.55.0
faraday 0.11.0
unf_ext 0.0.7.2
unf 0.1.4
domain_name 0.5.20170223
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
fastimage 2.1.0
gh_inspector 1.0.3
uber 0.0.15
representable 2.3.0
retriable 2.1.0
mime-types-data 3.2016.0521
mime-types 3.1
hurley 0.2
little-plugger 1.1.4
multi_json 1.12.1
logging 2.1.0
jwt 1.5.6
memoist 0.15.0
os 0.9.6
signet 0.7.3
googleauth 0.5.1
httpclient 2.8.3
google-api-client 0.9.28
json 1.8.1
mini_magick 4.5.1
multi_xml 0.6.0
rubyzip 1.2.1
security 0.1.3
xcpretty-travis-formatter 0.0.4
dotenv 2.2.0
bundler 1.14.5
faraday_middleware 0.11.0.1
net-ssh 4.1.0
net-sftp 2.1.2
net-scp 1.2.1
colorize 0.8.1

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 30 (11 by maintainers)

Most upvoted comments

ohh my god! it was my fastfile ??! so strange! i delete my old fastfile and redo with fastlane init and it works !!!