fastlane Xcode11 自动传包(采坑记录一)

一言不合上来就报错

Could not find transporter at /Applications/Xcode.app/Contents/Developer/. Please make sure you set the correct path to your Xcode installation.

解决办法:

Xcode 11 doesn't include the Transporter application anymore
  • 1.更新 fastlane
  • 2.把原来的xcode10.3 的Application Loader 找回来 然后放入 xcode11的 /Applications/Xcode.app/Contents/Applications 内 [链接:https://pan.baidu.com/s/186PP5YNMr64t_MHaG9PY4Q 密码:67hu]

期间也安装过iTMSTransporter_2.0.0 基本就这个报错

[10:27:17]: [iTMSTransporter] -Djava.ext.dirs=/usr/local/itms/java/lib/ext is not supported.  Use -classpath instead.

[10:27:17]: [iTMSTransporter] Error: Could not create the Java Virtual Machine.

[10:27:17]: [iTMSTransporter] Error: A fatal exception has occurred. Program will exit.

[10:27:17]: iTunes Transporter output above ^
[10:27:17]: The call to the iTMSTransporter completed with a non-zero exit status: 1. Th

使用旧版本的Application Loader使用(兼容Java 8/9的)Transporter 1.11.0版,而不是2.0.0版

还收到过这样的报错

[Transporter Error Output]: Your Apple ID or password was entered incorrectly. (-20101)

后来发现是缓存导致的,关机重启就行了

后记:

  • 账号问题
进 
~/.bash_profile
配置 (解决双重验证问题)这个appid 是没开双重验证的子账号密码
export FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=你的appid密码
   ENV["FASTLANE_USER"] = "XXXX.open.com"
   ENV["FASTLANE_PASSWORD"] = "你的appid密码"
  • 传送缓慢问题
   ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"] = "-t Aspera"

你可能感兴趣的:(fastlane Xcode11 自动传包(采坑记录一))