Xcode签名无法创建配置文件 [英] Xcode Signing Failed to create provisioning profile

查看:85
本文介绍了Xcode签名无法创建配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我订阅了App Developer程序.我付了费用.我已经完成了证书,标识符和个人资料.我已将该应用添加到App Store Connect.

您需要创建配置文件.

一旦创建了配置文件,请下载它并安装在您的计算机上.

请确保用于创建配置文件的证书必须位于计算机的钥匙串中.

如果那些密钥证书中未安装这些证书,那么您将在Xcode中看到证书问题.

但是我建议您从Apple开发人员门户手动创建供应配置文件,如您所见,主要是您可以知道配置文件中使用了哪些证书和设备.

您可以为您的应用创建以下配置文件.

开发资料

  • 您将能够在真实设备上运行/调试应用程序.
  • 必须将设备添加到配置文件中.
  • 这只能用于开发目的.

临时配置文件

  • 您将能够在真实设备上安装应用,但无法对其进行调试.
  • 必须在配置文件中添加设备才能在其上安装应用程序.
  • 它充当发布版本,而不是实际发布版本.
  • 通常进行开发,将即席构建发送给客户端以测试应用.

App Store配置文件

  • 您将无法使用此配置文件在设备上运行应用程序.
  • 它将用于在App Store上上传应用程序或创建发行版本以在App Store上分发.

I subscribed to the App Developer program. I paid the fee. I've done Certificates, Identifiers & Profiles. I added the app to App Store Connect.

xcode signing

I am getting the errors above. I don't have an iPhone phone. I'm developing on my macbook computer.

xcode device

How can I resolve this error?

解决方案

As I can see in image that "Automatically Manage Signing" is enabled for this Xcode project. So Xcode is trying to create the provisioning profile for you but not able to create it.

B'coz you need to add account in Xcode from Xcode -> Preferences -> Account -> Click on + icon at bottom to add a new developer account.

You need to create provisioning profiles.

Once you have created provisioning profile, download it and install on your machine.

Please make sure the certificate used in cretation of the provisioning profile must be in your machine's keychain.

If those certificates not installed in your keychiain then you will see certificate issue in Xcode.

But I would recommend to create provisioning profile manually from apple developer portal as you can see and mainly you can know that which certificate and devices are used in the profile.

You can create following provisioning profiles for your app.

Development Profile

  • You will be able to run/debug app on real device.
  • The device must be added into the profile.
  • This can be used for only development purpose.

Adhoc Profile

  • You will be able to install app on real device but not able to debug it.
  • The device must be added in profile to install app on it.
  • It acts as a release build but not a actually release build.
  • Generally develop send the adhoc build to client for testing of app.

App Store Profile

  • You will not able to run app on device using this profile.
  • It will be used to upload app on App Store or create the release build for distribution on App Store.

这篇关于Xcode签名无法创建配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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