使用他人的.p12&的iOS版本IPA .mobileprovision [英] iOS Release IPA using someone else's .p12 & .mobileprovision

查看:235
本文介绍了使用他人的.p12&的iOS版本IPA .mobileprovision的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建&释放IPA并用他人(客户)的.p12文件和.mobileprovision对其进行签名.

I'm trying to build & release an IPA and sign it with someone else's (The customer) .p12 file and a .mobileprovision.

我所没有的是他们的Apple开发者帐户用户名和密码组合(我只有自己的用户名和密码不相关).

What I do not have is their apple developer account user and password combination (I only have my own user and password which are not related).

如何使用我之前提到的证书(企业发行版)来构建和发布它?

How can I build and release it using their certificate which I mentioned before (enterprise distribution)?

我正在使用Xcode版本5.1.1(5B1008)

I'm using Xcode Version 5.1.1 (5B1008)

我已经导入了p12文件,它看起来很好并且在钥匙串中可见. 在Xcode中,我设置了正确的捆绑包ID,在代码签名"->发布"下,我选择了其导入的证书以及p12文件("iPhone发行版:xxxx").但是,当我单击产品">存档"时,构建失败,并显示消息....未找到与身份"iPhone发行版:xxxx"匹配的置备配置文件." (我将xxxx放在此处用于匿名).

I have imported the p12 file, and it appears to be fine and visible in keychain. In Xcode, I have set the correct bundle id, and under "Code Signing"->"Release" I have chosen their imported certificate with came with the p12 file ("iPhone Distribution: xxxx"). But when I click Product>Archive, build fails with message '.... no provisioning profile matching the identity "iPhone Distribution: xxxx" was found.' (I put the xxxx there for anonymity).

注意- 在引发可能的...重复"评论之前,请知道我已经调查了其他问题,找不到可行的解决方案.

Note- Before I'm flamed with "Possible duplicate of..." comments, please know that I have looked into other questions and could not find a working solution.

谢谢.

推荐答案

您必须正确导入.p12和相关的配置文件.

You have to import the .p12 and the related provisioning profile properly.

  • 从钥匙串中删除您现有的证书.开放式钥匙串访问 经理.导航到文件">导入项目".

  • Delete your existing certificate from Keychain. Open Keychain Access Manager. Navigate to File > Import Items.

浏览到要导入的.p12或.pfx文件,然后将其打开.

Browse to the .p12 or .pfx file that you want to import and open it.

在钥匙串"下拉列表中选择系统",然后单击添加".

Select System in the Keychain drop-down and click Add.

输入管理员密码(如果要求)以授权更改.

Enter the admin password (if Asked) to authorize the changes.

输入客户在生成.p12文件时创建的密码,然后单击修改钥匙串".

Enter the password that created by customer when he generated the .p12 file and click Modify Keychain.

接下来,删除您的旧配置文件并获取&添加与.p12相关的配置文件.

Next, Remove your old provisioning profile and get & add the .p12 related provisioning profile.

在Xcode中,在目标"->构建设置"->供应配置文件"下,从下拉菜单中选择正确的供应配置文件. 确保不在项目部分而不是在目标部分.

In Xcode, Under Target-->Build settings-->provisioning profiles, select the correct provisioning profile from the pull-down menu. Make sure that you are not doing it under the project section instead of Target.

希望这可以正常工作.

这篇关于使用他人的.p12&的iOS版本IPA .mobileprovision的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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