fastlane: [Regression] "no implicit conversion of nil into String" in match during cert install after updating to 2.57

New Issue Checklist

Issue Description

After updating to version 2.57 the match step now fails with the error no implicit conversion of nil into String when trying to install certificates. Running the same command in 2.56 succeeds.

From the debug output it looks to be choking when installing the Apple Worldwide Developer Relations Certification Authority.

Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Captured Output

Command Used: refreshCertificates --env DEV

Output/Log

DEBUG [2017-09-18 13:22:54.06]: Checking if there are any plugins that should be loaded...
INFO [2017-09-18 13:22:54.18]: -------------------------------------------------
INFO [2017-09-18 13:22:54.18]: --- Step: Verifying required fastlane version ---
INFO [2017-09-18 13:22:54.18]: -------------------------------------------------
INFO [2017-09-18 13:22:54.18]: Your fastlane version 2.57.0 matches the minimum requirement of 2.56.0  ✅
INFO [2017-09-18 13:22:54.19]: ------------------------------
INFO [2017-09-18 13:22:54.19]: --- Step: default_platform ---
INFO [2017-09-18 13:22:54.19]: ------------------------------
INFO [2017-09-18 13:22:54.19]: Loading from './fastlane/.env.DEV'
INFO [2017-09-18 13:22:54.19]: Driving the lane 'ios refreshCertificates' 🚀
INFO [2017-09-18 13:22:54.20]: -------------------
INFO [2017-09-18 13:22:54.20]: --- Step: match ---
INFO [2017-09-18 13:22:54.20]: -------------------
DEBUG [2017-09-18 13:22:54.21]: Taking value for 'git_url' from environment variable 'MATCH_GIT_URL'
DEBUG [2017-09-18 13:22:54.21]: Taking value for 'git_branch' from environment variable 'MATCH_GIT_BRANCH'
DEBUG [2017-09-18 13:22:54.21]: Taking value for 'type' from environment variable 'MATCH_TYPE'
DEBUG [2017-09-18 13:22:54.21]: Taking value for 'app_identifier' from environment variable 'MATCH_APP_IDENTIFIER'
DEBUG [2017-09-18 13:22:54.21]: Taking value for 'username' from environment variable 'MATCH_USERNAME'
DEBUG [2017-09-18 13:22:54.21]: Taking value for 'readonly' from environment variable 'MATCH_READONLY'
DEBUG [2017-09-18 13:22:54.21]: Taking value for 'team_id' from environment variable 'FASTLANE_TEAM_ID'
DEBUG [2017-09-18 13:22:54.21]: Taking value for 'platform' from environment variable 'MATCH_PLATFORM'

+-----------------------+--------------------------------------+
|                   Summary for match 2.57.0                   |
+-----------------------+--------------------------------------+
| git_url               | git@github.com:CompanyName/ios-code-si  |
|                       | gning.git                            |
| git_branch            | team1                                |
| type                  | enterprise                           |
| app_identifier        | com.team1.appName,com.team1.appName.          |
|                       | keyboard                             |
| username              | ios-apps@team1.com                   |
| keychain_name         | login.keychain                       |
| readonly              | false                                |
| team_id               | <MyTeamId>                           |
| verbose               | false                                |
| force                 | false                                |
| skip_confirmation     | false                                |
| shallow_clone         | false                                |
| clone_branch_directly | false                                |
| force_for_new_devices | false                                |
| skip_docs             | false                                |
| platform              | ios                                  |
+-----------------------+--------------------------------------+

INFO [2017-09-18 13:22:54.22]: Cloning remote git repo...
INFO [2017-09-18 13:22:54.22]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
INFO [2017-09-18 13:22:54.22]: $ GIT_TERMINAL_PROMPT=0 git clone 'git@github.com:team1/ios-code-signing.git' '/var/folders/7g/qgyrmc1x0_g313fqrlx9jvbc0000gn/T/d20170918-83722-1pgtozg'
INFO [2017-09-18 13:22:54.24]: ▸ Cloning into '/var/folders/7g/qgyrmc1x0_g313fqrlx9jvbc0000gn/T/d20170918-83722-1pgtozg'...
INFO [2017-09-18 13:22:55.14]: ▸ remote: Counting objects: 87, done.
INFO [2017-09-18 13:22:55.26]: ▸ remote: Compressing objects: 100% (41/41), done.
INFO [2017-09-18 13:22:56.02]: ▸ remote: Total 87 (delta 7), reused 55 (delta 5), pack-reused 30
INFO [2017-09-18 13:22:56.02]: ▸ Receiving objects: 100% (87/87), 218.73 KiB | 293.00 KiB/s, done.
INFO [2017-09-18 13:22:56.02]: ▸ Resolving deltas: 100% (7/7), done.
INFO [2017-09-18 13:22:56.07]: $ git branch --list origin/team1 --no-color -r
INFO [2017-09-18 13:22:56.08]: ▸ origin/team1
INFO [2017-09-18 13:22:56.08]: Checking out branch team1...
INFO [2017-09-18 13:22:56.08]: $ git checkout team1
INFO [2017-09-18 13:22:56.09]: ▸ Branch team1 set up to track remote branch team1 from origin.
INFO [2017-09-18 13:22:56.09]: ▸ Switched to a new branch 'team1'
INFO [2017-09-18 13:22:56.14]: 🔓  Decrypted 'H6K9EUZN9S.cer'
INFO [2017-09-18 13:22:56.18]: 🔓  Decrypted 'H6K9EUZN9S.p12'
INFO [2017-09-18 13:22:56.23]: 🔓  Decrypted 'InHouse_com.team1.appName.mobileprovision'
INFO [2017-09-18 13:22:56.28]: 🔓  Decrypted 'InHouse_com.team1.appName.keyboard.mobileprovision'
INFO [2017-09-18 13:22:56.38]: 🔓  Successfully decrypted certificates repo
INFO [2017-09-18 13:22:56.42]: Verifying that the certificate and profile are still valid on the Dev Portal...
INFO [2017-09-18 13:22:57.84]: Installing certificate...
INFO [2017-09-18 13:22:57.84]: $ security list-keychains -d user
INFO [2017-09-18 13:22:57.86]: ▸     "/keychainDir/Library/Keychains/login.keychain-db"
INFO [2017-09-18 13:22:57.86]: $ security find-certificate -c 'Apple Worldwide Developer Relations Certification Authority' /keychainDir/Library/Keychains/login.keychain-db
INFO [2017-09-18 13:22:57.89]: ▸ keychain: "/keychainDir/Library/Keychains/login.keychain-db"
INFO [2017-09-18 13:22:57.89]: ▸ version: 512
INFO [2017-09-18 13:22:57.89]: ▸ class: 0x80001000 
INFO [2017-09-18 13:22:57.89]: ▸ attributes:
INFO [2017-09-18 13:22:57.89]: ▸     "alis"<blob>="Apple Worldwide Developer Relations Certification Authority"
INFO [2017-09-18 13:22:57.89]: ▸     "cenc"<uint32>=0x00000003 
INFO [2017-09-18 13:22:57.89]: ▸     "ctyp"<uint32>=0x00000001 
INFO [2017-09-18 13:22:57.89]: ▸     "hpky"<blob>=0x88271709A9B618608BECEBBAF64759C55254A3B7  "\210'\027\011\251\266\030`\213\354\353\272\366GY\305RT\243\267"
INFO [2017-09-18 13:22:57.89]: ▸     "issu"<blob>=0x3062310B300906035504061302555331133011060355040A130A4150504C4520494E432E31263024060355040B131D4150504C452043455254494649434154494F4E20415554484F52495459311630140603550403130D4150504C4520524F4F54204341  "0b1\0130\011\006\003U\004\006\023\002US1\0230\021\006\003U\004\012\023\012APPLE INC.1&0$\006\003U\004\013\023\035APPLE CERTIFICATION AUTHORITY1\0260\024\006\003U\004\003\023\015APPLE ROOT CA"
INFO [2017-09-18 13:22:57.89]: ▸     "labl"<blob>="Apple Worldwide Developer Relations Certification Authority"
INFO [2017-09-18 13:22:57.89]: ▸     "skid"<blob>=0x88271709A9B618608BECEBBAF64759C55254A3B7  "\210'\027\011\251\266\030`\213\354\353\272\366GY\305RT\243\267"
INFO [2017-09-18 13:22:57.89]: ▸     "snbr"<blob>=0x01DEBCC4396DA010  "\001\336\274\3049m\240\020"
INFO [2017-09-18 13:22:57.89]: ▸     "subj"<blob>=0x308196310B300906035504061302555331133011060355040A0C0A4170706C6520496E632E312C302A060355040B0C234170706C6520576F726C647769646520446576656C6F7065722052656C6174696F6E733144304206035504030C3B4170706C6520576F726C647769646520446576656C6F7065722052656C6174696F6E732043657274696669636174696F6E20417574686F72697479  "0\201\2261\0130\011\006\003U\004\006\023\002US1\0230\021\006\003U\004\012\014\012Apple Inc.1,0*\006\003U\004\013\014#Apple Worldwide Developer Relations1D0B\006\003U\004\003\014;Apple Worldwide Developer Relations Certification Authority"
WARN [2017-09-18 13:22:58.19]: Lane Context:
INFO [2017-09-18 13:22:58.19]: {:DEFAULT_PLATFORM=>:ios, :ENVIRONMENT=>"DEV", :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios refreshCertificates"}
ERROR [2017-09-18 13:22:58.19]: no implicit conversion of nil into String
INFO [2017-09-18 13:22:58.19]: Successfully generated documentation at path '/keychainDir/Dev/team1/AppName/fastlane/README.md'

+------+---------------------+-------------+
|             fastlane summary             |
+------+---------------------+-------------+
| Step | Action              | Time (in s) |
+------+---------------------+-------------+
| 1    | Verifying required  | 0           |
|      | fastlane version    |             |
| 2    | default_platform    | 0           |
| 💥   | match               | 3           |
+------+---------------------+-------------+

ERROR [2017-09-18 13:22:58.21]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...
Search query: no implicit conversion of nil into String

URL: https://api.github.com/search/issues?q=no%20implicit%20conversion%20of%20nil%20into%20String+repo:fastlane/fastlane
➡️  "no implicit conversion of nil into String" when executing snapshpt
    https://github.com/fastlane/fastlane/issues/7433 [closed] 8 💬
    5 days ago

➡️  Fastfile:3:in `+': [!] no implicit conversion of nil into String (TypeError)
    https://github.com/fastlane/fastlane/issues/9335 [closed] 2 💬
    3 weeks ago

➡️  [!] no implicit conversion of nil into String (TypeError) in Hockey acktion
    https://github.com/fastlane/fastlane/issues/9622 [closed] 7 💬
    29 Jun 2017

and 59 more at: https://github.com/fastlane/fastlane/search?q=no%20implicit%20conversion%20of%20nil%20into%20String&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.


✅ fastlane environment ✅

Stack

Key Value
OS 10.12.6
Ruby 2.3.3
Bundler? true
Git git version 2.14.1
Installation Source ~/Dev/team1/AppName/vendor/bundle/bin/fastlane
Host Mac OS X 10.12.6 (16G29)
Ruby Lib Dir ~/.rbenv/versions/2.3.3/lib
OpenSSL Version OpenSSL 1.0.2j 26 Sep 2016
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path ~/Dev/team1/Xcode.app/Contents/Developer/
Xcode Version 8.3.3

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL
LANGUAGE

fastlane files:

`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.56.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  # You can define as many lanes as you want

  desc "Pull and install latest certificates and provisioning profiles based on environment using match"
  lane :refreshCertificates do
    match
  end

  desc "Build the app based on environment using gym"
  lane :buildAndArchive do
    gym
  end

  desc "Submit to Hockey App portal using configured Hockey App api using configured token"
  lane :submitHockey do
    hockey(api_token: ENV["HOCKEYAPP_API_TOKEN"],
          notes: "Build from fastlane")
  end

  desc "Update cocoapods, refresh certs, build app but DO NOT upload to Hockey App. Built app will be in 'GYM_OUTPUT_DIRECTORY' ENV variable"
  lane :buildWithoutDeployment do
    puts "Updating cocoapods"
    cocoapods(use_bundle_exec: true)

    refreshCertificates

    buildAndArchive
  end

  desc "Update cocoapods, refresh certs, build app and deploy to Hockey App portal. Use --env <EnvironmentName> when running"
  lane :deployBuild do
    puts "Updating cocoapods"
    cocoapods(use_bundle_exec: true)

    refreshCertificates

    buildAndArchive

    submitHockey
  end

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end


# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded. 
# Learn more at https://github.com/fastlane/fastlane#metrics

No Appfile found

fastlane gems

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

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.0.0
bundler 1.15.4
io-console 0.4.5
CFPropertyList 2.3.5
ZenTest 4.11.1
RubyInline 3.12.4
i18n 0.8.6
minitest 5.10.3
thread_safe 0.3.6
tzinfo 1.2.3
activesupport 4.2.9
public_suffix 2.0.5
addressable 2.5.2
babosa 1.0.2
claide 1.0.2
fuzzy_match 2.0.4
nap 1.1.0
cocoapods-core 1.3.1
cocoapods-deintegrate 1.0.1
cocoapods-downloader 1.1.3
cocoapods-plugins 1.0.0
cocoapods-search 1.0.0
cocoapods-stats 1.0.0
netrc 0.7.8
cocoapods-trunk 1.2.0
cocoapods-try 1.1.0
colored2 3.1.2
escape 0.0.4
fourflusher 2.0.1
gh_inspector 1.0.3
molinillo 0.5.7
ruby-macho 1.1.0
nanaimo 0.2.3
xcodeproj 1.5.1
cocoapods 1.3.1
dotenv 2.2.1
osx_keychain 1.0.1
cocoapods-keys 2.0.0
colored 1.2
highline 1.7.8
commander-fastlane 4.4.5
declarative 0.0.10
declarative-option 0.1.0
unf_ext 0.0.7.4
unf 0.1.4
domain_name 0.5.20170404
excon 0.59.0
multipart-post 2.0.0
faraday 0.13.1
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
faraday_middleware 0.12.2
fastimage 2.1.0
jwt 1.5.6
little-plugger 1.1.4
multi_json 1.12.2
logging 2.2.2
memoist 0.16.0
os 0.9.6
signet 0.7.3
googleauth 0.5.3
httpclient 2.8.3
mime-types-data 3.2016.0521
mime-types 3.1
uber 0.1.0
representable 3.0.4
retriable 3.1.1
google-api-client 0.13.6
json 2.1.0
mini_magick 4.5.1
multi_xml 0.6.0
plist 3.3.0
rubyzip 1.2.1
security 0.1.3
slack-notifier 1.5.1
terminal-notifier 1.8.0
unicode-display_width 1.3.0
terminal-table 1.8.0
tty-screen 0.5.0
word_wrap 1.0.0
rouge 2.0.7
xcpretty 0.2.8
xcpretty-travis-formatter 0.0.4

generated on: 2017-09-18

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 46
  • Comments: 60 (12 by maintainers)

Most upvoted comments

Hey everyone, I’m incredible sorry this happened - we should have reacted faster. Unfortunately we didn’t receive any Twitter messages that would ping us outside of working hours, so I only saw that just now 😢

I reverted the commit that caused the error with https://github.com/fastlane/fastlane/commit/36f18a568a48eaca615a0998f0cb85f293e29493 and I’m pushing a new release right now.

Again super sorry for the troubles, thanks everyone for helping out 👍

Alright, new release is live, please update and let me know if that works for you 👍

Also affected by this when running workflows with match

@DerekBounceChat if you’re using a Gemfile and bundler just add the version to the fastlane line: gem "fastlane", "2.56" then bundle install

If your just using the default gem sudo gem install fastlane --version 2.56 will do the trick.

IDK a good way if you’re using homebrew or some other way.

We just ended up downgrading to 2.56 and everything worked again. I suggest trying this if anyone else is stuck.

@KrauseFx no worries!!! your system is awesome, it happens to the best of us…

As mentioned above the simplest fix is to reinstall fastlane 2.56. If you for any reason do not use bundler, then following commands can do the job:

gem install fastlane --version 2.56
gem uninstall fastlane --version 2.57

Is there a way to smoothly downgrade fastlane?

No need for more +1’s. Just give a thumbs up on the initial issue report if you’re experiencing the same. It will be handled soon.

+1 I’m getting this withmatchand sigh.

Awesome, thanks! Yeah, beta builds are only distributed once a day, by now, the new release should be ready 👍

I can confirm it now works fine with version 2.57.1 (at least in our case)

@casz & @GoodMirek thank you, but I had to upload through altools instead…

cert is failing too:

8:in expand_path’: [!] no implicit conversion of nil into String (TypeError) from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane_core/lib/fastlane_core/cert_checker.rb:48:in list_available_identities' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane_core/lib/fastlane_core/cert_checker.rb:23:in installed_identies’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane_core/lib/fastlane_core/cert_checker.rb:9:in installed?' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/cert/lib/cert/runner.rb:88:in block in find_existing_cert’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/cert/lib/cert/runner.rb:80:in each' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/cert/lib/cert/runner.rb:80:in find_existing_cert’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/cert/lib/cert/runner.rb:31:in run' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/cert/lib/cert/runner.rb:6:in launch’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/actions/cert.rb:17:in run' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/runner.rb:252:in block (2 levels) in execute_action’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in execute_action' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/runner.rb:230:in block in execute_action’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/runner.rb:226:in chdir' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/runner.rb:226:in execute_action’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/runner.rb:148:in trigger_action_by_name' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/fast_file.rb:146:in method_missing’ from Fastfile:58:in block (2 levels) in parsing_binding' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/lane.rb:33:in call’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/lane.rb:33:in call' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/runner.rb:49:in block in execute’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/runner.rb:45:in chdir' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/runner.rb:45:in execute’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/lane_manager.rb:52:in cruise_lane' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/command_line_handler.rb:30:in handle’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/commands_generator.rb:104:in block (2 levels) in run' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in call’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:178:in call' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/command.rb:153:in run’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/runner.rb:476:in run_active_command' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:64:in run!’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.5/lib/commander/delegates.rb:15:in run!' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/commands_generator.rb:303:in run’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/commands_generator.rb:42:in start' from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/fastlane/lib/fastlane/cli_tools_distributor.rb:66:in take_off’ from /Users/agfa555/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.57.0/bin/fastlane:20:in <top (required)>' from /Users/agfa555/.fastlane/bin/bundle/bin/fastlane:22:in load’ from /Users/agfa555/.fastlane/bin/bundle/bin/fastlane:22:in <main>

@agfa555 consider using gemfile https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile

@HristiyanZahariev it should work for cert otherwise please post the error stack.

@agfa555

gem uninstall fastlane --version 2.57
gem install fastlane --version 2.56

PR #10362 and PR #10359 are created to hopefully fix the issue.

whether its fixed

Is it possible to get a hold of the installer zip for fastlane 2.56.0 ?

is there pod command to downgrade fastlane

Any workarounds?

Thanks @snelson21, I’ve submitted a PR: https://github.com/fastlane/fastlane/pull/10359, with your suggested change.

@pajama I also had to run

sudo gem uninstall fastlane --version 2.57

then when you run fastlane --version it should say you are using 2.56 which should work.

+1

Is there a clean way to downgrade fastlane installed via the installer script?

+1

works with 2.56