Xcode 4/iOS 如何为另一家公司的 App Store 分发应用程序?

问题描述:

我们已经构建了一个应用程序.一家公司购买了该应用程序的定制版本.我们无权访问其他公司的 Apple Developer 帐户,但另一家公司希望以自己的名义分发该应用程序.有什么办法可以交出应用程序,以便其他公司可以在不泄露我们的源代码的情况下在苹果应用程序商店签名和分发应用程序?

We have build an app. A company has bought an customized version of that app. We don't have access to the other companies Apple Developer account but the other company wants to distribute the app under their own name. Is there any way we can hand over the app so that the other company can sign and distribute the app on the Apple app store without giving away our source code?

感谢您的帮助.

更新:我发现这个网站可能是我问题的解决方案:http://www.ketzler.de/2011/01/resign-an-iphone-app-insert-new-bundle-id-and-send-to-xcode-organizer-for-upload/

Update: I have found this site that may be the solution to my problem: http://www.ketzler.de/2011/01/resign-an-iphone-app-insert-new-bundle-id-and-send-to-xcode-organizer-for-upload/

当然可以.我正在与超过 5 家公司做同样的事情.

Of cause you can. I am doing the same thing with more than 5 companies.

如果他们未授予您登录其 iOS 开发中心的权限,请向他们索要分发证书和分发配置文件.

If they don't give you permission to login into their iOS Dev Center, ask them for their distribution certificate and distribution provisioning profile.

让他们创建这些文件并将它们发送给您.

Just let them create these files and send them to you.

然后您可以在构建发布版本时使用他们的配置文件签署您的应用程序,并且只向他们发送.ipa"文件以让他们提交.

Then you can sign your App with their provisioning profile when you build a release version, and only send them the ".ipa" file to let them submit.

以下是创建这些文件的步骤,以防万一他们不了解如何:

Here are steps to create these files, just in case they don't understand how to:

获取分发证书:

登录 iOS 开发中心.

Log in to the iOS Dev Center.

导航到 iOS 配置门户.

Navigate to the iOS Provisioning Portal.

点击分发标签.

按照说明创建将要使用的新证书用于分发.该过程与您以前的过程相同创建您的开发证书.

Follow the instructions to create a new certificate that will be used for distribution. The process is identical to that which you used to create your development certificate.

证书颁发后,下载.cer文件到你的计算机.根据您的私钥和证书创建 P12 文件.

After the certificate is issued, download the .cer file to your computer. Create a P12 file from your private key and certificate.

拥有分发证书后,您需要创建一个分发配置文件:

Once you have the distribution certificate, you will need to create a distribution provisioning profile:

转到 iOS 供应门户的供应部分.

Go to the Provisioning section of the iOS Provisioning Portal.

选择分发选项卡.

为 App Store 分发方法创建配置文件.

Create a profile for the App Store distribution method.

在创建分发配置文件后,下载.mobileprovision 文件到您的计算机.把这个文件放在手边位置供以后使用.

After the distribution provisioning profile is created, download the .mobileprovision file to your computer. Keep this file in a handy location for later.