自动构建开发ios和签署 [英] Automated build for developing ios and signing it

查看:151
本文介绍了自动构建开发ios和签署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我建立一个phonegap应用程序与android和ios平台支持。对于Android一切都很好。我创建了一个apk并使用google证书签名。

So I am building an phonegap application with android and ios platform to support. For android all is fine. I created an apk and signed it with google certificate.

问题是与ios。
到目前为止,我使用的是企业许可证来分发应用程序。所有的工作正常,因为它允许通配符在包名称。

Issue is with ios. Till now I was using an enterprise licence to distribute the app. All was working fine, since it allowed wildcard character in bundle name.

现在我需要继续使用开发者许可证。所以每次我创建一个应用程序包名称将不同,所以配置文件和钥匙串和证书。

Now I need to move on with an developer licence. So everytime I create an app the bundle name will be different and so provisioning profile and keychain and certificate.

所以有一种方法,shell脚本只有没有手动步骤,

So is there a way, shell script only no manual step, to create an app id, create certificate, create keychain and sign the app with new keychain.

创建和签署ios应用程序的确切步骤。

What exact steps are to create and sign an ios app.

我将运行一个jenkins来构建应用程序。

I will be running a jenkins to build app.

任何帮助都是受欢迎的。

Any help is appriciated.

您可以使用 Ad Hoc分发方法。它用于测试目的。您可以为特殊分发创建通配符应用程序ID。

You can use Ad Hoc Distribution method. It is intended for testing purposes.You can create a wildcard App-ID for the Ad Hoc Distribution.

此方法允许您将应用程序分发到多达100个iOS设备。您应该通过他们的ID在苹果开发人员门户手动注册测试设备。

This method allows you to distribute apps to up to 100 iOS devices. You should register the test devices manually by their ID in the apple developer portal.

有关详情:

Developer.Apple

Create_an_ad-hoc_provisioning_profile

这篇关于自动构建开发ios和签署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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