本文介绍了如何向客户提供iOS应用IPA以使用他们自己的企业配置文件进行签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们开发了一款iOS应用程序,该应用程序已作为IPA交付给客户,并具有临时分发配置文件,允许其一组员工将其安装在其设备上。客户现在希望使用他们的iOS企业开发人员计划凭证在内部向所有员工分发该应用程序。

We have developed an iOS app that has been delivered to the customer as an IPA with an ad-hoc distribution profile that allowed a set of their employees to install it on their devices. The customer now wishes to distribute that app internally to all their employees using their iOS Enterprise Developer program credentials.

我曾希望客户可以简单地重新编码广告 - 具有自己企业标识的IPA。然而,他们说他们不能这样做。他们说他们需要一个IPA文件,只删除对某些设备的限制。

I had hoped that the customer could simply re-codesign the ad-hoc IPA with their own enterprise identity. However, they say they can't do that. They say they "need an IPA file with the removal of the limitation to only certain devices".

那么,我该怎么做?


  • 我是否需要以某种方式为他们创建未签名的IPA? (如果是这样,我该怎么做?)

  • 我是否需要它们来为我生成企业分发配置文件,以便我可以使用该配置文件构建应用程序?

  • 我是否需要向他们发送源代码或构建输出并让他们构建包?

I看了下面的文件,但他们没有启发我:

I have looked at the following documents, but they have not enlightened me:




  • TN2250: iOS code Signing Setup, Process, and Troubleshooting
  • Distributing Enterprise Apps for iOS Devices

推荐答案

完全可以接受任何IPA并使用您自己的详细信息重新签名,在此过程中修改Info.plist,捆绑ID等。我一直使用其他开发人员使用自己的配置文件和签名身份签署的IPA来执行此操作。

It's completely possible to take any IPA and resign it with your own details, modifying the Info.plist, bundle ID, etc. in the process. I do this all the time with IPAs that have been signed by other developers using their own provisioning profiles and signing identities.

如果他们不熟悉 codesign 命令行工具以及替换embedded.mobileprovision文件和权利的所有细节,他们这样做的最简单方法是让你通过Xcode存档应用程序,然后发送它们生成的存档文件(* .xcarchive)。

If they aren't familiar with the codesign command line tool and all the details of replacing embedded.mobileprovision files and entitlements, the easiest way for them to do this is for you to "Archive" the app via Xcode, and send them the generated archive file (*.xcarchive).

他们可以将其导入Xcode,以便在管理器中可见,从那里他们可以选择分发并签名它带有企业标识。

They can import that into Xcode so it is visible in the Organizer, and from there they can choose "Distribute" and sign it with their enterprise identity.

要将.xcarchive文件导入Xcode,他们只需将文件复制到〜/ Library / Developer / Xcode / Archives 目录,它应该出现在Xcode组织器中。然后他们点击分发并按照说明操作:

To import the .xcarchive file into Xcode, they just need to copy the file into the ~/Library/Developer/Xcode/Archives directory and it should appear in the Xcode organizer. Then they click "Distribute" and follow the instructions:

这篇关于如何向客户提供iOS应用IPA以使用他们自己的企业配置文件进行签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 10:02