多个证书/供应配置文件在一个XCode组织者? [英] Multiple Certificates/Provisioning Profiles in one XCode organizer?

查看:236
本文介绍了多个证书/供应配置文件在一个XCode组织者?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里有几个类似的问题,但没有一个可以回答我的基本问题:



有可能有两个单独的开发人员证书在钥匙串和两个相应的分布配置文件在组织者?



我有自己的iPhone应用程序的(工作)开发人员证书和配置文件。
现在我为客户完成了一个项目,并希望使用他的开发人员帐户/证书/配置文件将他的应用程序提交到他的帐户上的应用商店。



<这是甚至可能吗?



到目前为止,我下载并安装了他的证书,他们出现在我的钥匙串,我在管理器中安装了他的配置文件,但管理器告诉我一个有效的签名身份匹配此配置文件在您的钥匙串中找不到。。
同样,存档生成失败。



我找不到一种方法告诉组织者使用我的客户端证书,而不是我自己 - 这是问题。



感谢任何帮助!

解决方案

是的,我已经使用他们的发行证书多次为客户生成了应用商店的项目。无需使用其开发人员证书。有很多事情可以在这里出错,如果你有访问客户端的帐户,你可以去配置门户,并检查事情:




  • 请确保项目设置中的捆绑ID与iOS配置门户网站上的应用ID完全匹配(通常为com.company.appname)


  • 确保应用商店分发供应配置文件标记为有效,并显示在分发证书下。


  • 引用客户端的分发证书。


  • 打开您的钥匙串,并确保客户端分发证书还具有随附的私钥。这可能是问题,这是通常被遗忘的部分。客户端必须导出其用于其dist证书的私钥,并在.p12文件中将其与.p12文件的密码一起发送给您。 dist cert不能用于签署没有私钥的应用程序!


  • 有时只是退出Xcode并重新启动它有帮助。

    li>

there are several similar questions here, but none could answer my basic question:

Is it possible to have two separate developer certificates in the keychain and two corresponding distribution profiles in Organizer?

I have my own (working) developer certificate and provisioning profile for my own iPhone apps. Now I finished a project for a client and would like to use his developer account/certificates/provisioning profiles to submit his app to the app store on his account.

Is that even possible?

So far I downloaded and installed his certificates and they show up in my keychain, and I installed his provisioning profile in Organizer, but Organizer tells me "A valid signing identity matching this profile could not be found in your keychain.". Likewise, the archive build fails.

I couldn't find a way to tell Organizer to use the certificate of my client instead of my own-I think this is the problem.

Thanks for any help!

解决方案

Yes I've produced app store builds of projects for clients several times using their distribution certificate. No need to use their developer certificate. There are many things can could go wrong here, if you have access to the client's account you can go on to the provisioning portal and check things out:

  • make sure the bundle ID in the project settings exactly matches the app ID on the iOS provisioning portal (com.company.appname usually)

  • make sure the app store distribution provisioning profile is marked as "valid" and shows up under the distribution certificate.

  • make sure the app store build config in xcode references the client's distribution cert.

  • open your keychain and make sure that the client distribution cert also has its accompanying private key. This may be the problem, it's the part usually left out. The client must export his private key for his dist cert and send it to you in the .p12 file along with the password to the .p12 file. The dist cert can't be used to sign the app without the private key!

  • sometimes just quitting Xcode and restarting it helps.

这篇关于多个证书/供应配置文件在一个XCode组织者?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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