简体   繁体   English

Xcode 导入 .cer 和 .mobileprovision 文件

[英]Xcode import .cer and .mobileprovision file

I use Xcode 9 for building iOS application, and for that purpose I use my apple account.我使用 Xcode 9 来构建 iOS 应用程序,为此我使用我的苹果帐户。 Now I got from client certificate and provision profile in .cer and .mobileprovision format.现在我从 .cer 和 .mobileprovision 格式的客户端证书和配置文件中获取。 Can someone explain me how to use them and import them in Xcode, or anywhere is needed?有人可以向我解释如何使用它们并将它们导入 Xcode 或任何需要的地方吗?

I found somewhere to install certificate in keychain, but I didn't find is that in all certificate, my certificate, login, .... Anyhow I couldn't manage.我找到了在钥匙串中安装证书的地方,但我没有发现在所有证书中,我的证书,登录名,......无论如何我无法管理。

For .mobileprovision I couldn't find anything.对于 .mobileprovision 我找不到任何东西。

Any help?有什么帮助吗? Thanks in advance提前致谢

Remember first to load you certificate in your Computer Keychain.请记住首先在您的计算机钥匙串中加载您的证书。

To install a mobileprovision file in an XCode project you have to:要在 XCode 项目中安装 mobileprovision 文件,您必须:

  1. Go to the Project Properties - Simply select the top node in the Project navigator.转到项目属性 - 只需在项目导航器中选择顶部节点。
  2. Go to the Signing & Capabilities tab.转到签名和功能选项卡。
  3. Disable "Automatically manage signing"禁用“自动管理签名”
  4. Open the "Provisioning Profile" combo and select "Import Profile..."打开“配置文件”组合并选择“导入配置文件...”
  5. Navigate and select the .mobileprovision file.导航并选择 .mobileprovision 文件。

And that should do it.那应该这样做。 Hope this helps.希望这可以帮助。

Follow the instruction for automatic certificate and provisioning profile creation->按照自动证书和配置文件创建的说明进行操作->

  1. go to Xcode preference
  2. select accounts from upper tab
  3. select your app-id from left navigation panel
  4. after selecting app id, select developer team from right side
  5. now select manage certificates
  6. select '+' icon and create developer certificate and provisioning certificate.

hope this could help.希望这会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM