xcode 将配置文件添加到现有项目的新设备

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10589535/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 00:19:38  来源:igfitidea点击:

Adding provisioning profile to new device on existing project

iosxcode

提问by optionsix

I'm confused as to how to add a provisioning profile to a new device. So I'm using Xcode 4.3.2, and TestFlight. I was given a pre-existing project and a team license via the company I'm helping out. The provisioning profile on developer.apple.com had certain devices already set up. So I added all these devices as testers to TestFlight, sent out an archived build, no problems, worked fine.

我对如何将配置文件添加到新设备感到困惑。所以我使用 Xcode 4.3.2 和 TestFlight。我通过我正在帮助的公司获得了一个预先存在的项目和团队许可证。developer.apple.com 上的配置文件已经设置了某些设备。所以我将所有这些设备作为测试人员添加到 TestFlight,发送了一个存档版本,没有问题,工作正常。

Now, one of the testers wants to try out testing on an iPad. So, I sent them an invite via TestFlight, and their device automatically registered on TestFlight. I see their UDID, and device, etc. However, their device is listed under "Teammates Devices Not On This Profile". So, I followed the prompts, exported the missing UDID to a file, and uploaded the file to the Provisioning Portal. I see the iPad now under "Devices" in the Provisioning Portal, however it is listed with 0 profiles associated. How to I associate the provisioning portal of this app with the iPad? Is there some simple step I'm missing? Keep in mind this iPad is in a foreign location, so I have no control over it. I need to tell them what they need to do (or automate it myself). Please help!

现在,其中一位测试人员想要在 iPad 上进行测试。因此,我通过 TestFlight 向他们发送了邀请,他们的设备会自动在 TestFlight 上注册。我看到了他们的 UDID 和设备等。但是,他们的设备列在“不在此配置文件中的队友设备”下。因此,我按照提示操作,将丢失的 UDID 导出到一个文件,并将该文件上传到 Provisioning Portal。我现在在配置门户的“设备”下看到 iPad,但是它列出了 0 个关联的配置文件。如何将此应用程序的配置门户与 iPad 相关联?我错过了一些简单的步骤吗?请记住,这款 iPad 位于国外,因此我无法控制它。我需要告诉他们他们需要做什么(或自己自动化)。请帮忙!

回答by scord

You need to add the device to the provisioning profile. Then, build the project again using the updated provisioning profile. And upload that build to test flight.

您需要将设备添加到配置文件中。然后,使用更新的配置文件再次构建项目。并上传该构建以进行试飞。

Or, I believe TestFlight has a new feature that allows you to simply update the build with the new profile without having to create a new build.

或者,我相信 TestFlight 有一个新功能,它允许您使用新配置文件简单地更新构建,而无需创建新构建。