Ios Fabric Fastlane引导上载iTMSTransporter失败

Ios Fabric Fastlane引导上载iTMSTransporter失败,ios,fastlane,google-fabric,fastlane-pilot,Ios,Fastlane,Google Fabric,Fastlane Pilot,我跑步有问题 fastlane pilot upload 我得到这个错误: 对iTMSTransporter的调用已完成,退出状态为非零:1。这表示失败 我在网上和他们说要添加的任何地方进行了检查 ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS']='-t DAV' FASTLANE\u ITUNES\u TRANSPORTER\u USE\u SHELL\u SCRIPT=1 但我还是犯了同样的错误。 这是我的快速文件 #

我跑步有问题

fastlane pilot upload
我得到这个错误:

对iTMSTransporter的调用已完成,退出状态为非零:1。这表示失败

我在网上和他们说要添加的任何地方进行了检查

ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS']='-t DAV' FASTLANE\u ITUNES\u TRANSPORTER\u USE\u SHELL\u SCRIPT=1

但我还是犯了同样的错误。 这是我的快速文件

# 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
)

我试着把这两行

ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS']='-t DAV'FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT=1

也可以放在文件的顶部,或者只放其中一个,或者不放。没什么


有人可以帮忙吗?

您需要在调用pilot之前设置两个外部环境变量。例如,你可以在你的测试车道之前有一个before_

你好像给飞行员打了三次电话。为什么?

我想这样做:

# 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

before_all do
  ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV'
  ENV['FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT'] = '1'
end

lane :beta do
  # build your iOS app
  gym(
    # scheme: "MyScheme",
    export_method: "app-store"
  )

  # upload to Testflight
  pilot(
    app_identifier: "myAppIdentifier",
    apple_id: "MyAppleId",  # Your Apple email address
    team_id: "MyTeamId",     #  Developer Portal Team ID
    groups: "",
    ipa: "./MyIpaFile.ipa",
    skip_waiting_for_build_processing: true
  )
end
请注意,FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_脚本被设置为一个环境变量,而不是一个Ruby变量,请注意,在调用pilot()之前,会设置该脚本和DELIVER_ITMSTRANSPORTER_附加的_UPLOAD_参数

# 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

before_all do
  ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV'
  ENV['FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT'] = '1'
end

lane :beta do
  # build your iOS app
  gym(
    # scheme: "MyScheme",
    export_method: "app-store"
  )

  # upload to Testflight
  pilot(
    app_identifier: "myAppIdentifier",
    apple_id: "MyAppleId",  # Your Apple email address
    team_id: "MyTeamId",     #  Developer Portal Team ID
    groups: "",
    ipa: "./MyIpaFile.ipa",
    skip_waiting_for_build_processing: true
  )
end