LoginSignup
4
2

More than 5 years have passed since last update.

fastlane で upload_to_testflight するときに「Could not start delivery: all transports failed diagnostics」エラーが発生した場合の対策

Last updated at Posted at 2018-05-18
  • 実行環境
    • Xcode 9.3
    • Swift 4.1
    • Ruby 2.5.0
    • fastlane 2.95.0

このようなエラーが発生したら、

[16:02:15]: ----------------------------------
[16:02:15]: --- Step: upload_to_testflight ---
[16:02:15]: ----------------------------------
[16:02:15]: Login to iTunes Connect (xxxxxx)
[16:02:17]: Login successful
[16:02:18]: Ready to upload new build to TestFlight (App: xxxxxx)...
[16:02:19]: Going to upload updated app to iTunes Connect
[16:02:19]: This might take a few minutes. Please don't interrupt the script.
[16:04:28]: [Transporter Error Output]: Could not start delivery: all transports failed diagnostics
[16:04:28]: Transporter transfer failed.
[16:04:28]: 
[16:04:28]: Could not start delivery: all transports failed diagnostics
[16:04:28]: [iTMSTransporter]   at com.signiant.interactivetransfer.engine.TransferEngine.access$1200(TransferEngine.java:149)

[16:04:28]: [iTMSTransporter]   at com.signiant.interactivetransfer.engine.TransferEngine$8.run(TransferEngine.java:4060)

[16:04:28]: [iTMSTransporter] 

[16:04:28]: [iTMSTransporter] [2018-05-18 16:04:28 JST] <Transport Protocol> DEBUG: Received failed transfer notification; aborting

[16:04:28]: [iTMSTransporter] [2018-05-18 16:04:28 JST] <Transport Protocol>  INFO: The Signiant transfer engine's status is DISCONNECTED

[16:04:28]: [iTMSTransporter] [2018-05-18 16:04:28 JST] <main> ERROR: Could not start delivery: all transports failed diagnostics

[16:04:28]: [iTMSTransporter] 

[16:04:28]: [iTMSTransporter] 

[16:04:28]: [iTMSTransporter] 

[16:04:28]: [iTMSTransporter] Package Summary:

[16:04:28]: [iTMSTransporter]  

[16:04:28]: [iTMSTransporter] 1 package(s) were not uploaded because they had problems:

[16:04:28]: [iTMSTransporter]   /var/folders/r9/d6rp3mpj7kd67v3l2yvjmzk115mv2r/T/d20180518-25422-1y6vo9r/1356060418.itmsp - Error Messages:

[16:04:28]: [iTMSTransporter]       Could not start delivery: all transports failed diagnostics

[16:04:28]: [iTMSTransporter] [2018-05-18 16:04:28 JST] <main> DBG-X: Returning 1

[16:04:28]: iTunes Transporter output above ^
[16:04:28]: Could not start delivery: all transports failed diagnostics
Return status of iTunes Transporter was 1: Could not start delivery: all transports failed diagnostics
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.

Fastfile の先頭に以下の記述を追加する

ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV' # <--

default_platform(:ios)

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
    build_app(workspace: "xxxxxx", scheme: "xxxxxx")
    upload_to_testflight
  end
end
4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2