ios 更新配置文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1342497/
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
Renew Provisioning Profile
提问by Meltemi
Just got a notice that the provisioning profile for one of my apps is about to expire. Is there some way I can renew the existing one or must I recreate a new one?
刚刚收到通知,我的一个应用程序的配置文件即将到期。有什么方法可以更新现有的还是必须重新创建一个新的?
采纳答案by Johnmph
For renew team provisioning profile managed by Xcode :
要更新由 Xcode 管理的团队配置文件:
In the organizer of Xcode :
在 Xcode 的组织者中:
- Right click on your device (in the left list)
- Click on "Add device to provisioning portal"
- Wait until it's done !
- 右键单击您的设备(在左侧列表中)
- 单击“将设备添加到配置门户”
- 等到它完成!
回答by daver
I went to the Program Portal on Apple's dev site, clicked on Provisioning, clicked on the "Renew" button next to my Profile, the status changed from 'expired' to 'pending', waited a few moments, clicked refresh, the new status was active until 3 months from now, I clicked on "Download", found the downloaded file in my downloads folder, and dragged it onto my XCode Icon. (I had Xcode running already, and had the iphone plugged in). The new profile showed up, and I deleted the old one (being careful because they had the same name, but when you mouse over them the expiration date appears).
我去了苹果开发网站上的程序门户,点击配置,点击我的个人资料旁边的“更新”按钮,状态从“过期”变为“待定”,等了一会儿,点击刷新,新状态一直活跃到 3 个月后,我点击“下载”,在我的下载文件夹中找到下载的文件,并将其拖到我的 XCode 图标上。(我已经运行了 Xcode,并插入了 iphone)。新的配置文件出现了,我删除了旧的配置文件(小心,因为它们具有相同的名称,但是当您将鼠标悬停在它们上方时会出现到期日期)。
I think because I had the phone plugged in already it automagically updated to the phone, because I didn't have to re-sync or anything.
我想是因为我已经插入了手机,它会自动更新到手机上,因为我不必重新同步或进行任何操作。
Now my App works again!
现在我的应用程序再次运行!
回答by Stan Sieler
I've done what you suggest, and I don't see a "Renew" button either.
我已经按照你的建议做了,我也没有看到“更新”按钮。
The following is how I got mine renewed.
以下是我如何更新我的。
I see my three profiles (companynameProfile, "Team Provisioning Profile", and productnameProfile). THe first and third are going to expire within a couple of weeks. The second (and only the second) is flagged as "managed by Xcode". The profile names appear in a table with columns labelled: "Provisioning Profile", App ID, Status, and Actions. The status for all three is "Active". First 1 and 3, the Actions column has a "Download" button, and an "Edit" link. For 2, gthe Actions column has only the "Download" button.
我看到了我的三个配置文件(companynameProfile、“Team Provisioning Profile”和productnameProfile)。第一个和第三个将在几周内到期。第二个(只有第二个)被标记为“由 Xcode 管理”。配置文件名称显示在一个表中,其中的列标记为:“配置配置文件”、应用 ID、状态和操作。所有三个的状态都是“活动”。首先是 1 和 3,Actions 列有一个“下载”按钮和一个“编辑”链接。对于 2,操作列只有“下载”按钮。
There is no "Renew" (or "Refresh") button / link anywhere (and I did a view-source and searched that too :)
任何地方都没有“更新”(或“刷新”)按钮/链接(我做了一个查看源并搜索了它:)
So, I thought...click on "Edit" on #3 ... two choices pop-up: Modify and Duplicate. I chose "Modify"
所以,我想……点击#3 上的“编辑”……弹出两个选项:修改和复制。我选择了“修改”
There is still no renew/refresh ... but there is a "Submit" button ... which doesn't work (turns out its sort of grayed out, but that's not at all obvious...bad UI design).
仍然没有更新/刷新......但是有一个“提交”按钮......它不起作用(原来它是灰色的,但这一点都不明显......糟糕的UI设计)。
I discovered that if I change something on the screen (in my case, I selected a previously unused device), "Submit" darkens (becomes available). Click on "Submit". You're quietly (another UI problem :) taken back to the prior page, and the "Download" and "Edit" buttons are gone, and the status column should say "Pending"!
我发现如果我更改屏幕上的某些内容(就我而言,我选择了以前未使用的设备),“提交”会变暗(变得可用)。点击“提交”。您悄悄地(另一个 UI 问题 :) 返回到上一页,“下载”和“编辑”按钮不见了,状态栏应该显示“待处理”!
After awhile, I refreshed the window (reloaded) (don't know if it would have auto-refreshed) ... and saw that the status column had changed to "Active".
过了一会儿,我刷新了窗口(重新加载)(不知道它是否会自动刷新)......并看到状态列已更改为“活动”。
Now...I downloaded the new profile (the one that the darn page doesn't tellyou is new, and doesn't LIST THE EXPIRATION DATEso you could tell yourself ... third UI flaw already :)
现在......我下载了新的配置文件(那个该死的页面没有告诉你是新的,并且没有列出到期日期所以你可以告诉自己......第三个用户界面缺陷已经:)
I downloaded the profile, deleted the old profile from the list in the Organizer window of Xcode, then dragged the new one into the Organizer window of Xcode, and ... voila, Organizer shows a new expiration date (of about 3 months from today).
我下载了配置文件,从 Xcode 的 Organizer 窗口中的列表中删除了旧的配置文件,然后将新的配置文件拖到 Xcode 的 Organizer 窗口中,然后……瞧,Organizer 显示了一个新的到期日期(从今天起大约 3 个月) )。
Hope that helps,
希望有所帮助,
Stan Cupertino, CA, USA
美国加利福尼亚州斯坦库比蒂诺
回答by John Friend
Do you know if the renew button only appeared when the profile expired? I've a profile that will expire soon, but no "renew" button is shown at the moment.
您知道更新按钮是否仅在配置文件过期时出现吗?我有一个即将到期的个人资料,但目前没有显示“续订”按钮。
Just read elsewhere that apparently this is the case.
只是在别处阅读,显然情况确实如此。
回答by Nelga
They've changed it now. (Oct 2010)
他们现在已经改变了。(2010 年 10 月)
Log into iPhone developer website: http://developer.apple.com/
Then click on "Provisioning Portal" on the right hand sidebar menu (right at the top).
On the next page click "Provisioning" in the left sidebar menu
Then you'll see your provisioning profile/s, and the 'renew' button/s - Press it :)
登录 iPhone 开发者网站:http: //developer.apple.com/
然后单击右侧边栏菜单上的“Provisioning Portal”(顶部右侧)。
在下一页上单击左侧边栏菜单中的“配置”
然后你会看到你的配置文件和“更新”按钮 - 按下它:)
回答by jandersen
As of May 2017 this process seems to have changed yet again (a bit).
截至 2017 年 5 月,这个过程似乎再次发生了变化(有点)。
I did not find it necessary to actually modify anything to do with my profile, and fortunately the certificate was still valid so renewal ended up being a simple process though figuring out exactly whatto do was not straightforward.
我认为实际上没有必要修改与我的个人资料有关的任何内容,幸运的是证书仍然有效,因此续订最终成为一个简单的过程,尽管弄清楚要做什么并不简单。
回答by Peter
Update March 2013
2013 年 3 月更新
The expiry date of the provisioning profile is linked to the expiry date of the developer certificate. And I didn't want to wait for it to expire so here is what I did -
供应配置文件的到期日期与开发者证书的到期日期相关联。我不想等待它过期所以这就是我所做的 -
- Go to the iOS Provisioning portal
- Revoke the current certificate
- In Xcode > Organizer go to the Provisioning profiles page (under Library)
- Press refresh and it will prompt you to create a new developer certificate since the current one has been revoked
- Follow the steps to create one
- Go back to the iOS provisioning portal for your distribution profilesand change something about it so it will enable the submit button.
- Submit it and the date of the new certificate will get applied to it
回答by zeiteisen
In Xcode4 go to the Organizer. Choose at library the Provisioning Profiles. Select your provisioning profile and click on the "Refresh" button at the bottom. It will ask you to enter your login and password. After that, the profile is renewed.
在 Xcode4 中,转到 Organizer。在库中选择供应配置文件。选择您的配置文件,然后单击底部的“刷新”按钮。它会要求您输入登录名和密码。之后,配置文件被更新。
回答by Hugh Jeffner
They change how this works so often. This is what I had to do this time (May 2016):
他们经常改变这种运作方式。这就是我这次(2016 年 5 月)必须做的事情:
- Add a new provisioning profile in the Developer Member Center
- Open XCode preferences, Account > Choose Apple ID > Choose Team Name > View Details
- Click the Download button in the Action column for the newly-created provisioning profile
- 在开发人员会员中心添加新的配置文件
- 打开 XCode 偏好设置,帐户 > 选择 Apple ID > 选择团队名称 > 查看详细信息
- 单击新创建的配置文件的操作列中的下载按钮
回答by zolibra
for Team Profile, simple in Prereference --> Account--->select the corret account-->detail-->click the left bottom 'refresh' button. the profile will be renewed.
对于Team Profile,简单的Prereference --> Account--->选择正确的帐户-->detail-->点击左下角的'refresh'按钮。个人资料将被更新。