[英]Xcode 8.3 / Xcode 9.0 Refresh provisioning profile devices
I have added some new devices.我添加了一些新设备。 How can I refresh the provisioning profile, as Xcode 8 automatically manages signing assets?
我如何刷新配置文件,因为 Xcode 8 会自动管理签名资产?
I have found this question: Refresh devices in team provisioning profile managed by Xcode 7?我发现了这个问题: 刷新由 Xcode 7 管理的团队配置文件中的设备? – but we can't do that in Xcode 8.3.
– 但我们不能在 Xcode 8.3 中做到这一点。
I don't have the device with me so I manually added it in the portal and also edited the provisioning profile but Xcode is not re-downloading it.我没有随身携带设备,所以我手动将它添加到门户中并编辑了配置文件,但 Xcode 没有重新下载它。
This is what you need to do:这是你需要做的:
~/Library/MobileDevice/Provisioning\\ Profiles/
and delete all the provisioning profiles from there.~/Library/MobileDevice/Provisioning\\ Profiles/
并从那里删除所有配置文件。Download Manual Profiles
or Download All Profiles
.Download Manual Profiles
或Download All Profiles
。 And it will download all the provisioning profiles again.Step 1. Click on desktop then from top menu Go > Go to Folders...步骤 1. 单击桌面,然后从顶部菜单转到>转到文件夹...
Step 2. Write/Paste following path and enter:步骤 2.写入/粘贴以下路径并输入:
~/Library/MobileDevice/Provisioning\\ Profiles/
~/Library/MobileDevice/Provisioning\\ Profiles/
Step 3. Select Provisioning Profiles folder and delete all provisions profiles in it步骤 3. 选择Provisioning Profiles文件夹并删除其中的所有配置文件
Step 4. Go to xCode Preference > Accounts > Apple ID and then click on Download Manual Profiles button步骤 4。 转到 xCode Preference > Accounts > Apple ID ,然后单击Download Manual Profiles按钮
First delete the provisioning profile from ~/Library/MobileDevice/Provisioning\\Profiles/
, then edit provisioning profile from developer portal and select all devices while editing Provisioning profile.首先从
~/Library/MobileDevice/Provisioning\\Profiles/
删除~/Library/MobileDevice/Provisioning\\Profiles/
,然后从开发者门户编辑配置文件并在编辑配置文件时选择所有设备。 Then download this profile and open in your Xcode .然后下载此配置文件并在您的Xcode 中打开。
To add devices to your provisioning profile in Xcode 8 with automatic code signing, you simply need to build to the device in Xcode.要使用自动代码签名将设备添加到 Xcode 8 中的配置文件,您只需在 Xcode 中构建到设备即可。 Xcode will add the device's UDID and regenerate the provisioning profile automatically.
Xcode 将添加设备的 UDID 并自动重新生成配置文件。 If you don't have physical access to the device, I don't think there is a way to add it to your provisioning profile without going back to manually managing your devices and profiles.
如果您没有对设备的物理访问权限,我认为没有办法将其添加到您的配置文件中,而无需返回手动管理您的设备和配置文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.