TAKOYAKING’s blog 一覧

TAKOYAKING’s blog

たこ焼き系

fastlane: no implicit conversion of nil into String (TypeError)

18: from /Users/sample/.rbenv/versions/2.6.5/bin/fastlane:23:in `<main>'
17: from /Users/sample/.rbenv/versions/2.6.5/bin/fastlane:23:in `load'
16: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/bin/fastlane:23:in `<top (required)>'
15: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'
14: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/commands_generator.rb:17:in `start'
13: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/commands_generator.rb:186:in `run'
12: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
11: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
10: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
 9: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
 8: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
 7: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/commands_generator.rb:118:in `block (2 levels) in run'
 6: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/setup.rb:21:in `run'
 5: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/setup.rb:46:in `generate_deliver_file'
 4: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `get_latest_app_store_version'
 3: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `sort_by'
 2: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `each'
 1: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `block in get_latest_app_store_version'
/Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `parse': no implicit conversion of nil into String (TypeError)
18: from /Users/sample/.rbenv/versions/2.6.5/bin/fastlane:23:in `<main>'
17: from /Users/sample/.rbenv/versions/2.6.5/bin/fastlane:23:in `load'
16: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/bin/fastlane:23:in `<top (required)>'
15: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in `take_off'
14: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/commands_generator.rb:17:in `start'
13: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/commands_generator.rb:186:in `run'
12: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
11: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
10: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
 9: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
 8: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
 7: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/commands_generator.rb:118:in `block (2 levels) in run'
 6: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/setup.rb:21:in `run'
 5: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/deliver/lib/deliver/setup.rb:46:in `generate_deliver_file'
 4: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `get_latest_app_store_version'
 3: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `sort_by'
 2: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `each'
 1: from /Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `block in get_latest_app_store_version'
/Users/sample/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/spaceship/lib/spaceship/connect_api/models/app.rb:191:in `parse': [!] no implicit conversion of nil into String (TypeError)
fastlane deliver init

をしようとすると↑のようなエラーが出ました。

iTunesConnectに「提出準備中」の申請ページが無いとダメなようです。
ただ

fastlane deliver download_screenshots --use_live_version

「--use_live_version」をつけてあげるとスクショに関しては「配信準備完了」となっていても取得できるようです。metadataはつけてもダメでした。

なのでmetadataに関しては一旦iTunes Connect側で「提出準備中」のページを作る必要があるみたいです。