iTunes的应用程序加载器 - 自动化 [英] iTunes Application Loader - automation

查看:231
本文介绍了iTunes的应用程序加载器 - 自动化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于最近苹果公司改变了iTunes的连接接口,人们也需要与应用程序加载器上传应用程序。

Since recently Apple changed the iTunes Connect interface, and people are required to upload apps with the Application Loader.

这很好,但我需要为我的自动化工作的脚本。

That's nice but I need a script for automating my work.

如何能像应用程序加载的应用程序实现自动化?

How can an app like App Loader be automated?

我想的是写在AppleScript的东西......但我不知道它暴露了什么行动(如果有的话)。发现的地方,我还可以做的GUI脚本来自内部的AppleScript,但我不能对找到的文档。

I was thinking of something written in AppleScript ... but I don't know what actions it exposes (if any). Found somewhere that I could also do GUI scripting from within AppleScript, but I can't find docs on that.

我需要什么...某种方式来触发输入动作(鼠标点击/键盘输入)和读取的各种控件显示的文本。

What I need ... some way to trigger input actions (mouse clicks / keyboard input) and read the text from the various controls displayed.

如果将在Python / Ruby的可能将是巨大的,但AppleScript的很好。

If that would be possible in Python/Ruby it would be great, but AppleScript is fine.

OS X 10.6.4是版本。

OS X is version 10.6.4.

任何建议都AP preciated。

Any suggestions are appreciated.

谢谢,

推荐答案

应用程序加载文档中提到可以用于此目的的altool。 (<一href=\"https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf\">https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf)

Application Loader documentation mentions an altool which can be used for this purpose. (https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf)

相关信息:

The relevant information:

您可以使用altool,应用程序加载器对命令行工具
  验证和上传您的应用程序二进制文件的应用程序
  商店。

You can use altool, Application Loader’s command-line tool for validating and uploading your application binary files to the App Store.

要上传之前验证您的构建或自动有效的上传
  建立到App Store,您可以包括altool在连续
  集成系统。 altool位于应用程序
  Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/A/Support/
  夹。 (所以,完整的路径将是
  /Applications/X$c$c.app/Contents/Applications/Application \\
  Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool)

To validate your build before upload or to automate uploads of valid builds to the App Store, you can include altool in your continuous integration systems. altool is located in the Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/A/Support/ folder. (So full path would be /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool)

要运行altool,指定在命令行执行下列操作之一:

To run altool, specify one of the following at the command-line:

$ altool --validate应用-f文件-u用户名[-p密码]
  [--output格式的XML]

$ altool --upload应用-f文件-u用户名[-p
  密码] [ - 输出格式的XML]

其中:

- 验证应用程序内指定要验证指定的应用程序

--validate-app Specifies you want to validate the specified application.

- 上载应用程序指定要上载指定的应用程序。 Specifiesthe路径和文件名要验证应用程序或上传。
  -f文件

--upload-app Specifies you want to upload the specified application. Specifiesthe path and filename for the application you are validating or uploading. -f file

-u用户名指定用户名。

-u username Specifies your username.

-p密码指定用户密码。

-p password Specifies your user password.

- 输出格式[XML |正常]指定要加载应用程序在结构化的XML格式或非结构化的文本输出返回
  格式。默认情况下,应用程序加载器以文本格式返回输出信息。

--output-format [xml | normal] Specifies that you want Application Loader to return output in structured XML format or unstructured text format. By default, Application Loader returns output information in text format.

这篇关于iTunes的应用程序加载器 - 自动化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆