美文网首页
fastlane Xcode11 自动传包(采坑记录一)

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

作者: 蔡少 | 来源:发表于2019-10-23 16:47 被阅读0次

    一言不合上来就报错

    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"
    

    相关文章

      网友评论

          本文标题:fastlane Xcode11 自动传包(采坑记录一)

          本文链接:https://www.haomeiwen.com/subject/otvkvctx.html