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

期间也安装过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"
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容