美文网首页
iOS | 提审自动化遇到的问题,二进制文件无法上传

iOS | 提审自动化遇到的问题,二进制文件无法上传

作者: Rickie_Lambert | 来源:发表于2020-10-27 15:30 被阅读0次

问题:
Cannot proceed with delivery: an existing transporter instance is currently uploading this package

使用 自动化脚步上传 App 时,遇到的问题…

问题描述如下:

问题描述:
[15:11:01]: [Transporter Error Output]: Cannot proceed with delivery: an existing transporter instance is currently uploading this package
[15:11:01]: Transporter transfer failed.
[15:11:01]:
[15:11:01]: Cannot proceed with delivery: an existing transporter instance is currently uploading this package
[15:11:01]: [iTMSTransporter] [2020-10-22 15:11:01 CST] <main> DEBUG: Attempting exclusive file lock on token file
[15:11:01]: [iTMSTransporter] [2020-10-22 15:11:01 CST] <main> DEBUG: Token exists, examining
[15:11:01]: [iTMSTransporter] [2020-10-22 15:11:01 CST] <main> DEBUG: Token pid: 823, found process = true; my pid: 14997
[15:11:01]: [iTMSTransporter] [2020-10-22 15:11:01 CST] <main> DBG-X: Releasing token file lock
[15:11:01]: [iTMSTransporter] [2020-10-22 15:11:01 CST] <main> ERROR: Cannot proceed with delivery: an existing transporter instance is currently uploading this package
[15:11:01]: [iTMSTransporter] [2020-10-22 15:11:01 CST] <main>  INFO: Done performing authentication.
[15:11:01]: [iTMSTransporter]
[15:11:01]: [iTMSTransporter]
[15:11:01]: [iTMSTransporter]
[15:11:01]: [iTMSTransporter] Package Summary:
[15:11:01]: [iTMSTransporter]
[15:11:01]: [iTMSTransporter] 1 package(s) were not uploaded because they had problems:
[15:11:01]: [iTMSTransporter]   /tmp/1536520485.itmsp - Error Messages:
[15:11:01]: [iTMSTransporter]       Cannot proceed with delivery: an existing transporter instance is currently uploading this package
[15:11:01]: [iTMSTransporter] [2020-10-22 15:11:01 CST] <main> DBG-X: Returning 1
[15:11:01]: iTunes Transporter output above ^
[15:11:01]: Cannot proceed with delivery: an existing transporter instance is currently uploading this package
Return status of iTunes Transporter was 1: Cannot proceed with delivery: an existing transporter instance is currently uploading this package
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[15:11:01]: 执行错误, 还原构建版本号

使用 Xcode 提交项目App的时候,也有可能会遇到这样的问题, Xcode提交App中断出现:Cannot proceed with delivery: an existing transporter instance is currently uploading this package

这句英文翻译过来就是:
无法继续交付:现有的传输程序实例目前正在上载此包

下面这个是转载的,输入指令不好使

原因:上传的动作被记录在UploadToken中了。解决方法:
(1)打开终端,输入cd,进入个人用户目录下。
(2)输入ls -a,可以看到一个隐藏的目录 .itmstransporter
(3)cd .itmstransporter/UploadTokens
(4)ls ,可以看到一个类似 xxxxx.local_itunesConnectUSERxxxxxx.itmsp.token文件
(5)open . 进入当前目录,用记事本打开,把在里面把内容都删除,保存(也可使用vim)。
(6)重新在Organizer里面submit,ok了

还是用下面的方法,直接找到 UploadTokens 文件夹, 将里面的 .token 文件直接删除了,就OK了,直接重新上传二进制文件

如果未找到UploadTokens,就使用下面的路径。
打开 Founder, 快捷键 command + shift + G, 输入下面的路径, username 换成自己的电脑用户名字

cd /Users/<username>/Library/Caches/com.apple.amp.itmstransporter/UploadTokens/

建议:

1.提交App,一定要网络很好的环境下,网络好,网络好,网络好,重要事情说三遍!
2.可以使用VPN。

转载出处:
CSDN: https://blog.csdn.net/weixin_30629653/article/details/98977337 (别看这个)
还是看简书的 markdown 编辑的文章好点-_-||,他赋值的步骤,因为没有 markdown ,所以 L 和 I (i) 字母好难分辨,恶心。
简书: https://www.jianshu.com/p/6d465a0ea58e

相关文章

网友评论

      本文标题:iOS | 提审自动化遇到的问题,二进制文件无法上传

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