gpt4 book ai didi

macos - iTunes Application Loader-自动化

转载 作者:行者123 更新时间:2023-12-03 22:56:04 25 4
gpt4 key购买 nike

自最近以来,Apple更改了iTunes Connect界面,并且要求人们使用Application Loader上载应用程序。

很好,但是我需要一个脚本来自动化我的工作。

像App Loader这样的应用程序如何实现自动化?

我在想用AppleScript写的东西...但是我不知道它公开了什么 Action (如果有的话)。找到了一个我也可以从AppleScript内进行GUI脚本编写的地方,但是我找不到关于它的文档。

我需要的...一种触发输入操作(鼠标单击/键盘输入)并从显示的各种控件中读取文本的方式。

如果可以在Python/Ruby中实现,那就很好了,但是AppleScript很好。

OS X是10.6.4版。

任何建议表示赞赏。

谢谢,

最佳答案

Application Loader文档提到了可以用于此目的的altool。 (https://itunesconnect.apple.com/docs/UsingApplicationLoader.pdf)

相关信息:

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

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)

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

$ altool --validate-app -f file -u username [-p password] [--output-format xml]

$ altool --upload-app -f file -u username [-p password] [--output-format xml]

Where:

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

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

-f file Specifies the path and filename for the application you are validating or uploading.

-u username Specifies your username (Apple ID).

-p password Specifies your user password.

--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.

关于macos - iTunes Application Loader-自动化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3450288/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com