IPA分发到iTunes的命令行连接 [英] Distribute ipa to iTunes connect from command line

查看:400
本文介绍了IPA分发到iTunes的命令行连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个iPhone应用程序,我已经开始着手做掉尽可能多的点击周围的iTunes连接,我必须做的。我喜欢做的一件事是能够上传IPA到iTunes通过命令行连接。

I have several iPhone apps, and I've set out to do away with as much of the clicking around on iTunes connect that I have to do. One thing that I'd like to do is be able to upload an ipa to iTunes connect through the command line.

<一个href=\"http://stackoverflow.com/questions/7568420/how-to-perform-ios-app-validation-from-the-command-line\">How执行iOS应用程序验证通过命令行

这表明后

xcrun -sdk的iPhoneOS验证-online -upload /路径/要/ IPA

几乎工作,但因为它试图击中iTunes中的第一个应用程序连接,其中有一个比我上载不同的捆绑标识符将无法通过验证。所以,我想它不validaiton(删除 -online 标志)

Which almost works, but will fail validation because it tries to hit the first app in iTunes connect, which has a different bundle identifier than the one I'm uploading. So I tried it without validaiton (remove the -online flag)

xcrun -sdk的iPhoneOS验证-upload /路径/要/ IPA

和仍然抱怨的捆绑标识符是从iTunes中可用的第一个应用程序连接独立。有没有办法通过一个包,或者应用程序的苹果ID,或者说进入 xcrun 命令指定除在iTunes Connect的第一个其他的应用程序?有去有办法,我已经试图从终端产卵X code。将存档/上传操作过程中,获得从X code控制台输出,但它并没有给我有用的信息。

and the still complains about the bundle identifier being separate from the first app available in iTunes connect. Is there a way to pass a bundle, or app's Apple ID, or something into the xcrun command to specify an app other than the first one in iTunes Connect? There's go to be a way, and I've tried to get the console output from xCode during an archive/upload action by spawning xCode from the terminal, but it doesn't give me useful information.

推荐答案

苹果的方式来做到这一点是应用程序加载工具:altool --upload应用的File -u用户名[-p密码] [--output-格式的XML]

The Apple way to do it is application loader tool: altool --upload-app -f file -u username [-p password] [--output-format xml]

如这里所描述:
https://help.apple.com/itc/apploader/#/apdATD1E53 -D1E1A1303-D1E53A1126

这篇关于IPA分发到iTunes的命令行连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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