【发布时间】:2023-06-10 17:39:01
【问题描述】:
我为客户开发了一个 iPad 应用程序。我的客户拥有 Apple Enterprise 许可证。但他们不允许我用他们的证书签署应用程序。他们只是要求我提供 .xarchive 文件,以便他们可以签署应用程序并创建 ipa 文件。 我就是这样做的
1. Create a appid with com.mycompany.myapp.abc
2. Create a adhoc profile using above appid with my developer portal
3. set the bundle ID of my app com.mycompany.myapp.abc
4. Set the code signing identity to above profile in my app's target
5. archive the file using xcode 4.6.1
6. export the xarchive file and send to the client
7. Ask client to create a inhouse Dis profile with com.mycompany.myapp.* appid
8. Ask client to open the xarchive file using xcode and sign the app with inhouse profile and create the ipa file
他们在 7,8 中遵循了上述说明并创建了 ipa 文件。但是当我们尝试使用 xcode 将 ipa 文件安装到设备时,它会出现以下错误。
以上程序有问题吗。谁能解释一下这个问题。
编辑:
出于测试目的,我使用 com.mycompany.* 创建了临时配置文件,并通过在 xarchive 文件上方签名创建了一个 ipa 文件,它给出了相同的错误消息。但是,如果我使用带有 com.mycompany.myapp.abc 捆绑 ID 的配置文件对 xarchive 文件进行签名,则可以正常工作。
【问题讨论】:
-
您有登录 developer.apple.com 的凭据吗?或者您的钥匙串中是否有带私钥的有效证书?
-
是的。我有开发者许可证,并且我的钥匙串中也有该帐户的有效私钥
-
内部证书不应使用通配符应用 ID。
-
@CoolMonster 那我怎样才能达到上述要求.. 我需要提供一个 xarchive 文件,以便客户可以使用企业许可证对其进行签名并创建一个 ipa 文件
-
为什么我会在内部提供通配符应用程序。
标签: ios iphone objective-c provisioning-profile