简体   繁体   English

为企业分发构建ipa需要什么? (iOs - iPhone - iPad)

[英]What is needed to build an ipa for Enterprise Distribution? (iOs - iPhone - iPad)

I'm working on a project that will be distributed by a company internally. 我正在研究一个由公司内部分发的项目。 So, I've been doing some research about this, and all the tutorials and guides starts on having the build (.ipa file). 所以,我一直在研究这个问题,所有的教程和指南都从构建(.ipa文件)开始。

The question is how to sign the code the way my client can distribute the app internally using enterprise distribution and not giving me his certificates? 问题是如何按照我的客户使用企业分发在内部分发应用程序的方式来签署代码,而不是给我他的证书?

The Enterprise program Distribution certificates (and private keys) are needed to sign an app for enterprise distribution. 企业程序分发证书(和私钥)是签署应用程序以进行企业分发所必需的。 Either the client can trust you with the needed keys, or you can send the project to the client for final build, or the client can re-sign a compiled app bundle. 客户端可以使用所需的密钥信任您,或者您可以将项目发送到客户端以进行最终构建,或者客户端可以重新签署已编译的应用程序包。

An app can be re-signed using the Mac OS X command-line; 可以使用Mac OS X命令行重新签名应用程序; running Xcode 4 is not required. 不需要运行Xcode 4。

To see an example of an unsigned version of code and instructions on loval code signing see http://easewiki.apperian.com/index.php/Code_Signing 要查看未签名版本的代码示例和有关loval代码签名的说明,请参阅http://easewiki.apperian.com/index.php/Code_Signing

This method enables command line signing on any Mac. 此方法可在任何Mac上启用命令行签名。

You can't. 你不能。 You either have to give the client your code and let him compile/sign it or your client needs to give you his distribution certificate and the enterprise distribution profile so you can sign it. 您必须向客户端提供您的代码并让他编译/签名,或者您的客户需要向您提供他的分发证书和企业分发配置文件,以便您签名。

If you're using Xcode4, you could sign it using some ad hoc and then share the actual archive bundle. 如果你正在使用Xcode4,你可以使用一些ad hoc签名,然后共享实际的归档包。 A developer at your client's site could then import the archive bundle into his/her copy of Xcode4 and re-sign it with the appropriate certs. 然后,客户站点的开发人员可以将存档包导入到他/她的Xcode4副本中,并使用相应的证书对其进行重新签名。 Given Xcode4 is still in beta, tho, who knows if that will work properly or if it will even still exist when it goes live. 鉴于Xcode4仍然处于测试阶段,谁知道它是否会正常工作,或者它是否会在它上线时仍然存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM