没有物理设备的配置文件 [英] Provisioning Profile With No Physical Devices

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

问题描述

在这个论坛和Apple的开发者论坛上,我经常看到这个问题。我已经按照教程学习了6个多小时。

I have seen this issue a lot on this forum and apple's developer forum. I have followed tutorials and have been at this for over 6 hours.

我只想添加应用程序,以便可以与朋友和家人一起进行试飞。我没有iPhone。我有一个Macbook Pro,并为开发人员注册付费。

All I want is to add the app so I can testflight it with friends and family. I do not have an iphone. I have a Macbook Pro and a paid for Developer enrollment.

当我选择通用IOS设备和存档时,出现此错误:

When I select Generic IOS Device and Archive I get this error:

我在开发人员证书页面中有捆绑包ID:

I have the bundle ID in the Developer Certificate Page:

我已在App Store Connect中创建了该应用程序:

I have made the app in App Store Connect:

我已经完成了证书步骤,并使用xcode制作了这些证书:[![Xcode证书] [4]] [4]

I have gone through the certificate steps and made these certificates in xcode: [![Xcode Certificates][4]][4]

我在钥匙串中具有以下证书:[![钥匙串证书] [5]] [5]

I have these certificates in keychain: [![Keychain Certificates][5]][5]

我尝试重新启动xcode,清理构建,更改构建设置。尝试从通用设备进行归档时,我仍然收到两条错误消息。

I have tried restarting xcode, cleaning the build, changing build settings. I still get the two error messages when trying to archive from generic device.

我在做什么错?我该怎么办?

What am I doing wrong? What else should I do?

已解决:

万一其他人遇到麻烦了。我必须为分发-App Store创建一个配置文件。然后在Xcode中关闭自动管理签名,并为签名(调试)和签名(发布)手动选择配置文件。

In case anyone else is having trouble. I had to create a provisioning profile for Distribution - App Store. And then in Xcode turn off Automatically manage signing, and select the provisioning profile manually for Signing(Debug), and Signing (Release).

现在我不需要物理

推荐答案

如果使用自动代码签名,则需要此设备至少拥有一个已注册的设备(首次在其上运行该应用的调试版本时已注册)。

If you use automatic code signing, it is a requirement that you need to have at least one registered device (registered when you run the debug version of the app on it the first time).

要执行您想做的事情,您将需要使用手动代码签名。在Apple的Developer网站上,手动创建配置文件。如果要发送.ipa,则可以创建开发设置配置文件,并使用其设备的设备ID手动注册其设备。但是,如果不从技术上考虑他们,那将是困难的。听起来您已经决定使用TestFlight(可能是正确的选择),尤其是因为您拥有付费的开发者帐户。为此,创建一个分发配置概要文件,并使用它来部署您的应用程序并通过TestFlight分发它。

In order to do what you are trying to do, you will need to use manual code signing. On Apple's Developer site, manually create the provisioning profiles. If you want to send the, the .ipa, you can create a development provisioning profile, and manually register their devices with the device IDs for their device. But if they are not technically minded, that could be difficult. It sounds like you've made the decision to use TestFlight (probably the right call), especially since you have a paid developer account. For that, create a distribution provisioning profile and use that to deploy your app and distribute it via TestFlight.

这篇关于没有物理设备的配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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