XCode 5 中的配置文件

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

Provisioning Profiles in XCode 5

xcodeprovisioning-profilexcode5

提问by millport

I started using XCode 5 today and found when trying to archive a project for ad-hoc distribution that the provisioning profiles I was presented with did not include one I had recently created, but did include one that I had deleted. I checked the list of profiles in my Organizer for that device, and that list was OK and included the recent one that I had downloaded.

我今天开始使用 XCode 5,在尝试为临时分发归档项目时发现,我看到的配置文件不包括我最近创建的配置文件,但确实包括我已删除的配置文件。我检查了我的管理器中该设备的配置文件列表,该列表没问题,并且包括我最近下载的配置文件。

So my question is, what's going on here. Where's my profiles?

所以我的问题是,这里发生了什么。我的档案在哪里?

回答by millport

I found the answer by following a clue here on this site on a related subject. You have to go into XCode | Preferences | Accounts | View Details. There you will see the (old) list. Hit the refresh button. That will download an updated list.

我通过在本网站上有关相关主题的线索找到了答案。你必须进入 XCode | 偏好 | 帐户 | 查看详情。在那里您将看到(旧)列表。点击刷新按钮。这将下载更新的列表。

Now when I go to distribute my archive ad-hoc, I get the refreshed list of profiles.

现在,当我临时分发我的档案时,我会得到更新后的配置文件列表。

回答by Mark Molina

I found out that downloading and manually adding it by double clicking works fine as well. Don't have to wait all day ;-)

我发现通过双击下载并手动添加它也可以正常工作。不必等待一整天;-)

回答by Simon

The answer by millport sorted things out for me. What you need to do also though is to choose the profile you're working with and before downloading chooose 'edit' and choose to include those of your registered devices that you want to use as new added devices are not automatically included in your profiles

米尔波特的回答为我解决了问题。不过,您还需要做的是选择您正在使用的配置文件,然后在下载之前选择“编辑”并选择包含您要使用的已注册设备,因为新添加的设备不会自动包含在您的配置文件中