有没有一个API或任何其他方法来自动提交过程? [英] Is there an API or any other method to automate the submission process?

查看:181
本文介绍了有没有一个API或任何其他方法来自动提交过程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多的应用程序这是在功能和用户界面相似。创建由从一个的.plist文件拾取变量用户界面。比如,我省从API的来源,我拿起数据。

I have a number of apps which are similar in functionality and UI. I create the user interface by picking up variables from a .plist file. For instance, I save the source of the API from where I pick up the data.

创建新的应用程序只涉及改变了的.plist文件中的值,并重建应用程序,并最终将其提交到App Store。另外,我需要建立特设提供文件和构建测试版本了。

Creating a new app involves just changing the values in the .plist file and rebuilding the app, and finally submitting it to the App Store. Also, I need to create Ad-Hoc provision files and build test releases too.

我想这个过程自动化。为此,我需要:

I wish to automate this process. For this I need to:


  1. 建立通过命令行界面的应用程序。

  1. Build the app through the command line interface.

上传二进制和其他所需文件/资料(应用程序图标,描述等)iTunes Connect中。

Upload the binary and other required files/information (app icon, description, etc.) to iTunes Connect.

任何指针我应该在哪里看?

Any pointers where I should look?

推荐答案

建立你的X code项目,可以通过使用命令行工具将自动X codebuild 苹果提供。

Building your Xcode projects can be automated by using the command line tool xcodebuild that Apple provides.

至于自动化应用程序创建过程的推移,苹果并没有在X code界面之外,曝光了这种功能。您仍然可以自动执行此,有两个选项。

As far as automating the app creation process goes, Apple has not exposed this functionality outside of the Xcode GUI. You can still automate this and there are two options.


  1. 使用的Automator创建一个脚本
    该重放所有行动人
    将执行以创建新的
    项目。重播的零件
    脚本类的项目名称等。
    可定制和
    编程送入脚本。
    这种方法的缺点是
    这实际上将在运行
    GUI和将是缓慢的。

  1. Use Automator to create a script that replays all the actions a human would perform to create a new project. Parts of this replay script like the project name etc. can be customized and programmatically fed to the script. A disadvantage of this method is that this will actually run on the GUI and will be slow.

如果你想要做的这一切通过
命令行中,你将不得不
反向工程的内容
具有在X code项目文件
扩展.X codeproj。它是
COM pressed文件,包含一些
为XML配置文件
整个项目。没有公开
上的内容的文件
这些XML文件。

If you want to do it all through the command line, you will have to reverse engineer the contents of the Xcode project file that has the extension .xcodeproj. It's a compressed file and contains a few XML configuration files for the entire project. There is no public documentation on the contents of these XML files.

有关自动提交过程中,您将需要会谈itunesconnect.apple.com的脚本。在这里,您将提交您的应用程序在App Store。结帐此页面在iTunes Connect的信息。
浏览器自动化工具将在这里帮助的尽管你可以滚了通过HTTP会谈iTunes Connect中你的自定义脚本。

For automating the submission process, you will need a script that talks to itunesconnect.apple.com. This is where you would submit your app to the App Store. Checkout this page for more info on iTunes Connect. A browser automation tool will be helpful here though you could roll your custom script that talks to iTunes Connect over HTTP.

要总结,可以容易地开箱即用的唯一的事情就是在 X codebuild 工具。其他一切都进行逆向工程。

To summarize, the only thing that can be used readily out of the box is the xcodebuild tool. Everything else has to be reverse engineered.

这篇关于有没有一个API或任何其他方法来自动提交过程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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