2017-07-19 13 views
0

私はファブリックFastlaneパイロットアップロードiTMSTransporter障害

fastlane pilot upload 

を実行している問題を抱えている私はこのエラーを取得する:

The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure

私はオンライン、どこでも、彼らはDELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS '[

ENVを追加すると言う確認'] =' -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 

私はこれらの2行

ENV [ 'DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS']を入れてみました= '-t DAV' FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT = 1

ファイルの先頭にも、またはそれらのうちの1つだけ、またはまったく存在しません。何もない。

誰でも手助けできますか?

答えて

0

パイロットの呼び出しの外(前)に2つの環境変数を設定する必要があります。例えば、あなたのベータレーンの前にbefore_all権限を持つことができます。

パイロットを3回呼び出すようです。どうして?

私はこのように行うだろう:FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPTは、環境変数としての代わりに、Rubyの変数として設定し、その両方がDELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERSはパイロット()

への呼び出しの前に設定されていることに注意していることを

# 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 

注意