ios Xcode 8.3 / Xcode 9.0 刷新配置文件设备
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44060482/
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
Xcode 8.3 / Xcode 9.0 Refresh provisioning profile devices
提问by Bilal
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?– but we can't do that in Xcode 8.3.
我发现了这个问题:刷新由 Xcode 7 管理的团队配置文件中的设备?– 但我们不能在 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 没有重新下载它。
回答by Bilal
This is what you need to do.
这是你需要做的。
- Go to
~/Library/MobileDevice/Provisioning\ Profiles/
and delete all the provisioning profiles from there. - Go to XCode > Preferences > Accounts and select the Apple Id.
- Click
Download All Profiles
. And it will download all the provisioning profiles again.
- 转到
~/Library/MobileDevice/Provisioning\ Profiles/
并从那里删除所有配置文件。 - 转到 XCode > Preferences > Accounts 并选择 Apple Id。
- 单击
Download All Profiles
。它将再次下载所有配置文件。
Xcode 9
Xcode 9
Step 1 and 2 remain the same.
步骤 1 和 2 保持不变。
- Click
Download Manual Profiles
to update your provisioning profiles.
- 单击
Download Manual Profiles
以更新您的配置文件。
回答by Musa almatri
回答by AiOsN
Step 1. Click on desktop then from top menu Go> Go to Folders...
步骤 1. 单击桌面,然后从顶部菜单转到>转到文件夹...
Step 2. Write/Pastefollowing path and enter:
步骤 2.写入/粘贴以下路径并输入:
~/Library/MobileDevice/Provisioning\ Profiles/
~/Library/MobileDevice/Provisioning\ Profiles/
Step 3. Select Provisioning Profilesfolder and delete all provisions profiles in it
步骤 3. 选择Provisioning Profiles文件夹并删除其中的所有配置文件
Step 4. Go to xCode Preference> Accounts> Apple IDand then click on Download Manual Profilesbutton
步骤 4。 转到 xCode Preference> Accounts> Apple ID,然后单击Download Manual Profiles按钮
回答by Ved Rauniyar
First delete the provisioning profile from ~/Library/MobileDevice/Provisioning\Profiles/
, then edit provisioning profile from developer portaland select all deviceswhile editing Provisioning profile. Then download this profile and open in your Xcode.
首先从 中删除配置文件~/Library/MobileDevice/Provisioning\Profiles/
,然后从开发者门户编辑配置文件并在编辑配置文件时选择所有设备。然后下载此配置文件并在您的Xcode 中打开。
回答by wottle
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 will add the device's UDID and regenerate the provisioning profile automatically. 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.
要使用自动代码签名将设备添加到 Xcode 8 中的配置文件,您只需在 Xcode 中构建到设备即可。Xcode 将添加设备的 UDID 并自动重新生成配置文件。如果您没有对设备的物理访问权限,我认为没有办法将其添加到您的配置文件中,而无需返回手动管理您的设备和配置文件。