/usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/fastlane_core/lib/fastlane_core/itunes_transporter.rb:504:in `basename': \e[31m[!] no implicit conversion of true into String\e[0m (TypeError)
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/fastlane_core/lib/fastlane_core/itunes_transporter.rb:504:in `upload'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/runner.rb:189:in `upload_binary'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/runner.rb:59:in `run'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/commands_generator.rb:82:in `block (2 levels) in run'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:117:in `run!'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/commands_generator.rb:187:in `run'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/commands_generator.rb:18:in `start'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in `take_off'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/bin/fastlane:23:in `<top (required)>'
from /usr/local/Cellar/fastlane/2.198.1/libexec/bin/fastlane:23:in `load'
from /usr/local/Cellar/fastlane/2.198.1/libexec/bin/fastlane:23:in `<main>'
/usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/fastlane_core/lib/fastlane_core/itunes_transporter.rb:504:in `basename': no implicit conversion of true into String (TypeError)
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/fastlane_core/lib/fastlane_core/itunes_transporter.rb:504:in `upload'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/runner.rb:189:in `upload_binary'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/runner.rb:59:in `run'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/commands_generator.rb:82:in `block (2 levels) in run'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:117:in `run!'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/commands_generator.rb:187:in `run'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/deliver/lib/deliver/commands_generator.rb:18:in `start'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in `take_off'
from /usr/local/Cellar/fastlane/2.198.1/libexec/gems/fastlane-2.198.1/bin/fastlane:23:in `<top (required)>'
from /usr/local/Cellar/fastlane/2.198.1/libexec/bin/fastlane:23:in `load'
from /usr/local/Cellar/fastlane/2.198.1/libexec/bin/fastlane:23:in `<main>'
@SwiftiSwift If you are using
bundle
to run fastlane. You can specify in GemfileIf not, you will have to remove current fastlane and reinstall the specific version.
This works for me in 2.197.0 as well. Will not use higher version until it is fix. Thank you for the suggestion.
edit: tag user
@mezhevikin gentle ping @joshdholtz or perhaps @crazymanish for review on #20043 😃
I have PR #20043 up for review, it should fix this issue.
Please fastlane team fix this issue for macos!
Thank you so much for the informative and interesting post I like your points which you have discussed over here, great job. UPSers
@ChaosCoder the PR is already as a draft created by @snatchev.
I was in a hurry so tried to tweak the code with minimal changes possible and edited my fastlane install.
Edit: here is link to the draft: https://github.com/fastlane/fastlane/pull/20043
I can confirm that the fastlane mac build breaks only when an ipa file exists.
After your suggestion, I deleted the ipa and the build uploaded successfully.
Thanks @snatchev
the asset_path parameter is
true
whereas the code expects a string of a filepath.This line looks like a logic operation that could result in a boolean getting passed in. I am not clear on the original intention of that code, but I suspect that is where the problem is stemming from.
Edit: Here the
upload_ipa
andupload_pkg
are set to booleans. Can we confirm this error only happens when both .ipa and .pkg files exist?Facing this issue for 2 weeks now.
This issue also happens with iOS!!