ios 如何更改与我的(Xcode 管理的)团队配置文件关联的 App ID
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4795929/
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
How to change the App ID associated with my (Xcode managed) Team Provisioning Profile
提问by Steve
I constantly struggle to get my codesigning to work. I'm trying to get a good generic provisioning profile that will work for all my apps during development. They're always failing codesign, but they also always install on my phone. Go figure.
我一直在努力让我的代码设计工作。我正在尝试获得一个良好的通用配置文件,该配置文件将在开发过程中适用于我的所有应用程序。他们总是无法通过协同设计,但他们也总是安装在我的手机上。去搞清楚。
I've created an App ID called ##########.mydomainname.*
and associated it with my development certificate, but when the Team Provisioning Profile: *
is generated, it uses an App ID that I made when I first signed up over a year ago. I don't know if this is a problem, but I want to try associating the Team Provisioning Profile: *
with my ##########.mydomainname.*
App ID. I'm so sick of constantly fiddling with provisioning - eventually I get it to work, but it's never the same recipe.
我创建了一个名为的 App ID##########.mydomainname.*
并将其与我的开发证书相关联,但是当Team Provisioning Profile: *
它生成时,它使用我一年多前第一次注册时创建的 App ID 。我不知道这是否有问题,但我想尝试将Team Provisioning Profile: *
与我的##########.mydomainname.*
App ID相关联。我厌倦了不断摆弄配置 - 最终我让它工作,但它从来都不是同一个配方。
Can I somehow edit the App ID used in a profile?
我可以以某种方式编辑配置文件中使用的 App ID 吗?
UPDATE: Marking question as answered, but it looks like the answer is that you can't do what I'm asking.
更新:将问题标记为已回答,但答案似乎是您无法执行我的要求。
采纳答案by Dmitry Shashlov
You can't edit exisiting AppID's, but you can associate existing provisioning profile with new AppID or create new one.
您不能编辑现有的 AppID,但可以将现有的配置文件与新的 AppID 关联或创建新的 AppID。
回答by J?hn Narr?w
According to AppleIn Apr 2013, it is possible to delete App IDs. But In Sep 2013, Now again they changed so from now impossible to delete App IDs .
根据Apple在 2013 年 4 月,可以删除 App ID。但是在 2013 年 9 月,现在他们又改变了,从现在开始不可能删除 App ID。
update 19th sept: But now again you can delete
9 月 19 日更新:但现在您可以再次删除
回答by Rory O'Bryan
After Apple recently added the ability to delete App Ids, I have managed to change the App Id associated with the Xcode Team Provisioning Profile
.
在 Apple 最近添加了删除 App Id 的功能后,我设法更改了与Xcode Team Provisioning Profile
.
In my case I had two wildcard App Ids, the one Xcode always used was the first one that I had created in error when I first registered. To switch to my second preferred wild card id I did the following:
就我而言,我有两个通配符 App Id,Xcode 一直使用的一个是我第一次注册时错误创建的第一个。要切换到我的第二个首选通配符 ID,我执行了以下操作:
- In iTunes Connect -> App Ids: Delete the offending App Id.
- In iTunes Connect -> Provisioning profiles: The Xcode profile is now marked invalid, delete it.
- In Xcode -> Organiser -> Devices -> Provisioning Profiles: Delete the profile and click refresh.
- 在 iTunes Connect -> App Ids:删除有问题的 App Id。
- 在 iTunes Connect -> Provisioning 配置文件中:Xcode 配置文件现在被标记为无效,将其删除。
- 在 Xcode -> Organizer -> Devices -> Provisioning Profiles 中:删除配置文件并单击刷新。
The new profile was regenerated in iTunes Connect however it wasn't downloaded into the list in Xcode so I downloaded manually from iTunes Connect and dragged it in.
新的配置文件在 iTunes Connect 中重新生成,但它没有下载到 Xcode 的列表中,所以我从 iTunes Connect 手动下载并将其拖入。
Apparently iTunes connect has some rules about which App Ids can be deleted and Xcode has some default behaviour as to which App Id it chooses so YMMV.
显然 iTunes Connect 有一些关于可以删除哪些 App Id 的规则,而 Xcode 有一些关于它选择哪个 App Id 的默认行为,所以 YMMV。
回答by mikeborgh
It seems that you can only delete App IDs which are not associated with Apps registered with iTunesConnnect.
似乎您只能删除与在 iTunesConnnect 注册的应用程序无关的应用程序 ID。
回答by Kishore
i am using xcode 6.3.2 and the bundle identifier start with yourcompany.yourapp not com.yourcompany.yourapp but when i was creating a certificate it in developer.apple.com it says it should be com.yourcompany.yourapp so that was the reason it was not working.
我正在使用 xcode 6.3.2 并且包标识符以 yourcompany.yourapp 开头而不是 com.yourcompany.yourapp 但是当我在 developer.apple.com 创建证书时它说它应该是 com.yourcompany.yourapp 所以这是原因是它不起作用。
Then i changed bundle identifier to com.yourcompany.yourapp in xcode 6 to match the provisioning profile and it worked for me.
然后我在 xcode 6 中将包标识符更改为 com.yourcompany.yourapp 以匹配配置文件,它对我有用。
Hope this helps for some one.
希望这对某些人有所帮助。