# com.apple.amp.itmstransporter **Repository Path**: xiaoyuerss/com.apple.amp.itmstransporter ## Basic Information - **Project Name**: com.apple.amp.itmstransporter - **Description**: 因为某些网络的不给力的原因,将github的内容做了一个备份,方便国内开发者,同时根据需要可以进行继续更新 - **Primary Language**: Objective-C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2020-12-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # com.apple.amp.itmstransporter #### 介绍 因为某些网络的不给力的原因,将github的相关repo内容做了一个镜像,方便国内开发者,同时根据需要可以进行继续更新. 参考自:https://github.com/iOSDevLog/com.apple.amp.itmstransporter ,因为github网速不给力,所以才萌生建立此repo,感谢原作者。 #### 现象 使用 Transporter 上传 ipa 到 App Store 时,有时间会卡住或者非常慢。 #### 原因 Transporter 安装上第一次打开后,会在硬盘目录:~/Library/Caches/com.apple.amp.itmstransporter 目录下下载一些缓存文件,这些缓存文件没有下载完,或者下载失败没下载完时,使用Transporter去提交应用这个页面就会卡住或者这个页面很慢。 #### 使用 1. 下载 Release 下面的 zip 包,或者 git clone https://gitee.com/hiproz/com.apple.amp.itmstransporter 2. 替换 ~/Library/Caches/com.apple.amp.itmstransporter 3. 修改路径:obr/2.0.0/repository.xml 文件,将对应的用户名修改成自己的实际用户名: eg: file:/Users/iosdevlog/Library -> file:/Users/{youhomedir}/Library #### 验证 更新成功后,再次运行: ``` /Applications/Transporter.app/Contents/itms/bin/iTMSTransporter [2020-03-03 12:28:39 CST]
INFO: Configuring logging... [2020-03-03 12:28:39 CST]
INFO: Logging level set to eXtreme [2020-03-03 12:28:39 CST]
INFO: Transporter is searching for new software components. [2020-03-03 12:28:39 CST]
INFO: INFO: using cached repository.xml file. [2020-03-03 12:28:40 CST]
INFO: Update check complete. [2020-03-03 12:28:41 CST]
DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties [2020-03-03 12:28:41 CST]
DEBUG: Configuration refresh successful. [2020-03-03 12:28:41 CST]
DEBUG: Saving configuration to local path: /Users/iosdevlog/Library/Caches/com.apple.amp.itmstransporter/Defaults.properties usage: iTMSTransporter [-help | -info | -m | -version] [-o ] [-v ] [-WONoPause ] [-Xmx4096m] iTMSTransporter : iTunes Store Transporter 2.0.0 -help 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 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 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 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 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]
DBG-X: Returning 0 ``` 出现以上结果说明正常