ios 如何将新设备添加到团队配置文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9506600/
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-08-30 17:06:14  来源:igfitidea点击:

How to add a new device to a team provisioning profile

ios

提问by Gruntcakes

I have a new device for our app to be tested on, so I added it to the provisioning portal.

我有一个新设备供我们的应用程序测试,所以我将它添加到配置门户。

There are currently two development provisioning profiles - however the provisioning portal will not let me edit the team provisioning profile in order to add the new device. - But I'm sure this something I've done before as I've previously added new devices as they arrived to enable testing with them.

目前有两个开发配置文件 - 但是配置门户不允许我编辑团队配置文件以添加新设备。- 但我确信这是我以前做过的事情,因为我之前在新设备到达时添加了新设备,以便对其进行测试。

How can I add the new device if the profile isn't editable? (

如果配置文件不可编辑,如何添加新设备?(

(The limit has not been reached, there's only several devices in the portal in total).

(未达到限制,门户中总共只有几台设备)。

采纳答案by Boon

You don't have to edit it, click Refresh in Xcode Organizer to make it generate a new one for you automatically.

你不必编辑它,在 Xcode Organizer 中点击 Refresh 让它自动为你生成一个新的。

enter image description here

在此处输入图片说明

回答by martin

For Xcode 5 :

对于 Xcode 5:

From the Xcode menu select preferences>>Accounts, Select your Apple ID then select Details...

从Xcode菜单中选择preferences>>Accounts,选择您的Apple ID,然后选择Details...

You will get a popup with your Signing Identities and Provisioning Profiles.

您将看到一个带有您的签名身份和配置文件的弹出窗口。

Click the Refresh button in the bottom left and the iOS Team Provisioning Profiles get re-generated and downloaded.

单击左下角的 Refresh 按钮,iOS Team Provisioning Profiles 将重新生成并下载。

回答by swiftBoy

For new XCode 5 & Xcode 6

对于新的XCode 5 和 Xcode 6

Adding Device UDID to Provisioning Profile on developer.apple.com

将设备 UDID 添加到 developer.apple.com 上的配置文件

Login to iOS dev center and go to Device section under 'Certificates, Identifiers & Profiles'

登录 iOS 开发中心并转到“证书、标识符和配置文件”下的设备部分

Add new Device using UDID

使用 UDID 添加新设备

enter image description here

在此处输入图片说明



Update Provisioning profile with newly added Device

使用新添加的设备更新配置文件

Once you have added the device and need to update your developer provision profile

添加设备并需要更新开发人员配置文件后

enter image description here

在此处输入图片说明

Select newly added device in provisioning profile and click Generate

在配置文件中选择新添加的设备,然后单击生成

enter image description here

在此处输入图片说明



Update XCode with Updated Provisioning Profile

使用更新的配置文件更新 XCode

Finally goto XCode --> Preferences --> Accounts --> ViewDetails -->Refresh -->Done

最后转到 XCode --> 首选项 --> 帐户 --> 查看详细信息 --> 刷新 --> 完成

enter image description here

在此处输入图片说明

That's All Go for Clean and Build now. Cheers!!

这就是现在进行清理和构建的全部内容。干杯!!

回答by Michael

On XCode 7 the answers here are inapplicable. https://stackoverflow.com/a/32725552/1449799should work (delete the profiles in xcode, and tell it to download them again), BUT unlike the instructions at the link, for XCode Version 7.2.1 (7C1002), you (or at least I) cannot select multiple profiles at once.

在 XCode 7 上,这里的答案不适用。https://stackoverflow.com/a/32725552/1449799应该可以工作(删除 xcode 中的配置文件,并告诉它再次下载它们),但与链接中的说明不同,对于 XCode Version 7.2.1 (7C1002),您(或至少我)不能一次选择多个配置文件。

回答by Aaron

Open the Organizer window in Xcode. With your device plugged in to the computer, select your device in the Organizer.

在 Xcode 中打开管理器窗口。将您的设备插入计算机后,在管理器中选择您的设备。

In the area detailing your device's specs, click the button titled "Use for Development". You may need to log in to your Apple Developer profile. Once that's done, your device should be listed as part of the provisioning profile and have the profile installed.

在详细说明设备规格的区域中,单击标题为“用于开发”的按钮。您可能需要登录您的 Apple Developer 个人资料。完成后,您的设备应作为配置文件的一部分列出并安装该配置文件。