我运行有问题
fastlane pilot upload
我收到此错误:
对 iTMSTransporter 的调用以非零退出状态完成:1。这表示失败
我在网上查了一下,他们说要添加
ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV' FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT=1
但无论如何我都会遇到同样的错误。这是我的 FastFile
# More documentation about how to customize your build
# can be found here:
# https://docs.fastlane.tools
fastlane_version "1.109.0"
# This value helps us track success metrics for Fastfiles
# we automatically generate. Feel free to remove this line
# once you get things running smoothly!
generated_fastfile_id "MyNumber"
default_platform :ios
# Fastfile actions accept additional configuration, but
# don't worry, fastlane will prompt you for required
# info which you can add here later
lane :beta do
# build your iOS app
gym(
# scheme: "MyScheme",
export_method: "app-store"
)
pilot(
app_identifier "myAppIdentifier"
apple_id "MyAppleId" # Your Apple email address
team_id "MyTeamId" # Developer Portal Team ID
groups ""
ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV'
FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT=1
)
pilot(ipa: "./MyIpaFile.ipa")
# upload to Testflight
pilot(skip_waiting_for_build_processing: true)
# slack(
# slack_url: "https://hooks.slack.com/services/IDS"
# )
end
我试着把这两行
ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV' FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT=1
也位于文件的顶部,或者只是其中之一或没有。没有什么。
任何人都可以帮忙吗?