Transporter上传卡在——正在验证 APP - 正在通过App Store进行认证
如果一直命令一直卡着,也无法上传成功,可以试试下面的办法。
解决方案一:
1、终端运行命令
/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter
2、如果有报错信息 https://...jar,把 jar 文件下载下来,放入 ~/Library/Caches/com.apple.amp.itmstransporter/obr/2.2.0/
3、再次执行终端命令
/Applications/Transporter.app/Contents/itms/bin/iTMSTransporter
4、出现以上结果说明正常
[2020-03-03 12:28:39 CST] <main> INFO: Configuring logging...
[2020-03-03 12:28:39 CST] <main> INFO: Logging level set to eXtreme
[2020-03-03 12:28:39 CST] <main> INFO: Transporter is searching for new software components.
[2020-03-03 12:28:39 CST] <main> INFO: INFO: using cached repository.xml file.
[2020-03-03 12:28:40 CST] <main> INFO: Update check complete.
[2020-03-03 12:28:41 CST] <main> DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties
[2020-03-03 12:28:41 CST] <main> DEBUG: Configuration refresh successful.
[2020-03-03 12:28:41 CST] <main> DEBUG: Saving configuration to local path: /Users/iosdevlog/Library/Caches/com.apple.amp.itmstransporter/Defaults.properties
usage: iTMSTransporter [-help <arg> | -info | -m <arg> | -version] [-o <arg>] [-v
<arg>] [-WONoPause <arg>] [-Xmx4096m]
iTMSTransporter : iTunes Store Transporter 2.0.0
-help <arg> Show this help. If a mode value is specified, show help specific
to that mode.
-info The -info option should be used by itself and returns the
copyright notice and acknowledgements.
-m <arg> The -m option specifies the tool's mode. The valid values are:
verify, upload, provider, diagnostic, lookupMetadata,
createArtist, lookupArtist, status, statusAll,
createMetadataTicket, queryTickets, generateSchema, transferTest,
downloadMetadataGuides, listReports, requestReport
-o <arg> The -o option specifies the directory and filename you want to use
to log output information. By default, Transporter logs output
information to standard out. If you specify a filename,
Transporter logs the output to the specified file, as well as to
standard out.
-v <arg> The -v option specifies the level of logging. The five values
are: off, detailed, informational, critical, eXtreme.
-version The -version option should be used by itself and returns the
version of the tool.
-WONoPause <arg> The -WONoPause option is only valid on Windows and its value can
be 'true' or 'false'. If an error occurs during script execution,
the process idles because the message 'Press any key...' is
displayed on the console and the system awaits a keypress. To
avoid this behavior, set this property to true
-Xmx4096m Specifies that you want to change the Java Virtual Machine's (JVM)
allocated memory by increasing the JVM heap size. By default,
Transporter uses a 2048MB heap size. You can use the -Xmx4096m
option to specify a 4-gigabyte (GB) heap size. Apple recommends,
if needed, increasing the heap size to 4096MB by specifying the
-Xmx4096m (or -Xmx4g) option and adjusting as needed.
[2020-03-03 12:28:41 CST] <main> DBG-X: Returning 0
解决方案二:
上传卡住的原因:
Transporter安装上第一次打开后,会在硬盘目录:/用户/你的电脑登录账号名/资源库/Caches/com.apple.amp.itmstransporter/目录下下载一些缓存文件,这些缓存文件没有下载完,或者下载失败没下载完时,使用Transporter去提交应用这个页面就会卡住或者这个页面很慢。
/Users/你的电脑登录账号名/Library/Caches/com.apple.amp.itmstransporter
可以下载这个文件夹直接覆盖自己的原有com.apple.amp.itmstransporter文件夹,如果原本没有也直接复制进去相当于创建了。
https://pan.baidu.com/s/1WbZAKWYFroXADuyhStUiDQ 密码:yo79
第一步
下载链接里的文件,把解压后的"com.apple.amp.itmstransporter"目录放到"/用户/你的电脑登录账号名/资源库/Caches/"目录下,覆盖你原有的"com.apple.amp.itmstransporter"目录。
第二步
将新的"com.apple.amp.itmstransporter"目录下/obr/2.0.0/目录下的repository.xml文件中的所有"Simpsons"修改为你自己电脑的登录账号名,否则Transporter执行时会在错误的路径下找资源文件。
第三步
再次尝试Transporter上传。
第四步
如果时间App Store认证时间超过两分钟,建议手机开4g热点,电脑连接后再上传试试。