ios 如何使用 iTMSTransporter?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16582119/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to use iTMSTransporter?
提问by abe
I have 50 achievements to upload to iTunes Connect. I have read that you can do this using iTMSTransporter however I cannot find references or examples of the script or metadata.xml file.
我有 50 个成就要上传到 iTunes Connect。我读到您可以使用 iTMSTransporter 执行此操作,但是我找不到脚本或 metadata.xml 文件的引用或示例。
I have found the file here:
/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/bin
我在这里找到了文件:
/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/bin
Or here after updating to Application Loader 3.1:
/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin
或者在更新到 Application Loader 3.1 之后:
/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin
Can someone put up an example of the script and data structure needed to use it?
有人可以举一个使用它所需的脚本和数据结构的例子吗?
采纳答案by sshaw
You can download metadata specifications and the iTMSTransporter
manual
from iTunes Connect: https://itunesconnect.apple.com:
您可以iTMSTransporter
从 iTunes Connect:https: //itunesconnect.apple.com下载元数据规范和手册:
- Log in
- Click on Manage Your App
- See Featured Resourcessection for metadata guides
- See Transportersection for
iTMSTransporter
manual
- 登录
- 单击管理您的应用程序
- 有关元数据指南,请参阅特色资源部分
- 有关手册,请参阅运输车部分
iTMSTransporter
You can also get help by executing iTMSTransporter -help [command]
.
您还可以通过执行来获得帮助iTMSTransporter -help [command]
。
While I'm not familiar with uploading achievementsI've written a Ruby gem that contains a small command line program that might help you:
虽然我不熟悉上传成就,但我编写了一个 Ruby gem,其中包含一个可以帮助您的小命令行程序:
https://github.com/sshaw/itunes_store_transporter#readme
https://github.com/sshaw/itunes_store_transporter#readme
I also have a GUI (still somewhat rough around the edges) that might help: https://github.com/sshaw/itunes_store_transporter_web/sshaw/itunes_store_transporter_web#readme
我还有一个 GUI(边缘仍然有些粗糙)可能会有所帮助:https: //github.com/sshaw/itunes_store_transporter_web/sshaw/itunes_store_transporter_web#readme
Update (2017-08-16)
更新 (2017-08-16)
Apple has created iTunes Connect Resources & Help.
Apple 创建了iTunes Connect 资源和帮助。
Film & TV specs are there too.
电影和电视规格也在那里。
回答by mbinna
WWDC 2013 Session 306 "What's New in iTunes Connect"shows some examples of how to use iTMSTransporter
. If you have access to an iOS Developer Program account, you should definitely check out this session.
WWDC 2013 Session 306 “iTunes Connect 中的新功能”展示了一些如何使用iTMSTransporter
. 如果您有权访问 iOS 开发人员计划帐户,则绝对应该查看此会话。
For convencience, I added an alias to my .bash_profile
. This allows me to invoke iTMSTransporter
from any directory:
为方便起见,我在我的.bash_profile
. 这允许我iTMSTransporter
从任何目录调用:
alias iTMSTransporter='`xcode-select --print-path`/../Applications/Application\ Loader.app/Contents/MacOS/itms/bin/iTMSTransporter'
回答by Jon
use altool-- it works the same as iTMSTransporter, but a bit more concise.
使用altool- 它的工作方式与 iTMSTransporter 相同,但更简洁一些。
It's found here:
它可以在这里找到:
/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool
use as follows in a post-run jenkins script:
在 post-run jenkins 脚本中使用如下:
$ altool --upload-app -f /path/to/app.ipa -u USERNAME -p PASSWORD
回答by eJon Hao
Transporter User Guide
运输车用户指南
export TRANSPORTER_HOME=
xcode-select --print-path
/../
Applications/Application\ Loader.app/Contents/MacOS/itms/bin
export TRANSPORTER_HOME=
xcode-select --print-path
/../
Applications/Application\ Loader.app/Contents/MacOS/itms/bin
To start Transporter, use the iTMSTransporter command in the Terminal app. You must use the iTMSTransporter command in the directory where Transporter is installed. To use Transporter, you must have an iTunes Connect account with the Admin or Technical role.
要启动 Transporter,请使用终端应用程序中的 iTMSTransporter 命令。您必须在安装 Transporter 的目录中使用 iTMSTransporter 命令。要使用 Transporter,您必须拥有具有管理员或技术角色的 iTunes Connect 帐户。
Using Lookup Mode$ iTMSTransporter -m lookupMetadata -u [iTunes Connect user name] -p [iTunes Connect password] -vendor_id [App SKU] -destination [destination path for App Store Package]
使用查找模式$ iTMSTransporter -m lookupMetadata -u [iTunes Connect user name] -p [iTunes Connect password] -vendor_id [App SKU] -destination [destination path for App Store Package]
Using Verify Mode
使用验证模式
$ iTMSTransporter -m verify -f [path to App Store Package] -u [iTunes Connect user name] -p [iTunes Connect password]
$ iTMSTransporter -m verify -f [path to App Store Package] -u [iTunes Connect user name] -p [iTunes Connect password]
Using Upload Mode
使用上传模式
$ iTMSTransporter -m upload -f [path to App Store Package] -u [iTunes Connect user name] -p [iTunes Connect password]
$ iTMSTransporter -m upload -f [path to App Store Package] -u [iTunes Connect user name] -p [iTunes Connect password]
回答by Rajnikant Lodhi
update iTMSTransporter update following links:- https://help.apple.com/itc/transporteruserguide/#/apdA3ae5a8b0?sub=apdA687d545d
更新 iTMSTransporter 更新以下链接:- https://help.apple.com/itc/transporteruserguide/#/apdA3ae5a8b0?sub=apdA687d545d
then check App developer installationstep and download iTMSTransporter package then install it. I hope to resolve the error
然后检查App developer安装步骤并下载iTMSTransporter包然后安装它。我希望能解决错误