1. No such file or directory – git
Saat menjalankan fastlane env
ataupun fastlane deliver upload
muncul error
[10:55:52]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[10:55:52]: Generating fastlane environment output, this might take a few seconds…
[10:55:52]: Error accessing file, this might be due to fastlane’s directory handling
[10:55:52]: Check out https://docs.fastlane.tools/advanced/#directory-behavior for more details
/usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane/lib/fastlane/environment_printer.rb:214:in “’: No such file or directory – git (Errno::ENOENT)
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane/lib/fastlane/environment_printer.rb:214:in `print_system_environment’
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane/lib/fastlane/environment_printer.rb:24:in `get’
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane/lib/fastlane/environment_printer.rb:4:in `output’
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane/lib/fastlane/commands_generator.rb:263:in `block (2 levels) in run’
from /usr/local/rvm/gems/ruby-2.4.1/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call’
from /usr/local/rvm/gems/ruby-2.4.1/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run’
from /usr/local/rvm/gems/ruby-2.4.1/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command’
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!’
from /usr/local/rvm/gems/ruby-2.4.1/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!’
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane/lib/fastlane/commands_generator.rb:333:in `run’
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane/lib/fastlane/commands_generator.rb:41:in `start’
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off’
from /usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.121.1/bin/fastlane:23:in `
from /usr/local/rvm/gems/ruby-2.4.1/bin/fastlane:23:in `load’
from /usr/local/rvm/gems/ruby-2.4.1/bin/fastlane:23:in `
from /usr/local/rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval’
from /usr/local/rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `
Solusinya
install git
Fedora/CentOS
yum install git
Debian/Ubuntu
apt install git
2. Could not find or load main class com.apple.transporter.Application
Log error yang muncul
[13:44:50]: ‘1.0’ is the latest version on App Store Connect
[13:44:53]: Uploading binary to App Store Connect
[13:44:53]: Going to upload updated app to App Store Connect
[13:44:53]: This might take a few minutes. Please don’t interrupt the script.
[13:44:53]: [iTMSTransporter] Error: Could not find or load main class com.apple.transporter.Application
[13:44:53]: iTunes Transporter output above ^
[13:44:53]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
Looking for related GitHub issues on fastlane/fastlane…
โก๏ธ upload_to_testflight failed with API forbidden error, though ipa sucessfully uploaded to TestFlight
https://github.com/fastlane/fastlane/issues/14372 [open] 27 ๐ฌ
20 hours ago
โก๏ธ iTMSTransporter Authorization Required error
https://github.com/fastlane/fastlane/issues/13718 [open] 21 ๐ฌ
13 hours ago
โก๏ธ [2.107.0] Uploading metadata to iTunes Connect error: source sequence is illegal/malformed utf-8
https://github.com/fastlane/fastlane/issues/13608 [open] 25 ๐ฌ
a week ago
Solusinya
di ~/.bashrc
tambahkan
export FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT=1
jangan lupa untuk reload bashrc dengan
source ~/.bashrc