简体   繁体   English

如何更改与我的(Xcode托管)团队配置文件关联的应用程序ID

[英]How to change the App ID associated with my (Xcode managed) Team Provisioning Profile

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. 我创建了一个名为##########.mydomainname.*的应用程序ID,并将其与我的开发证书相关联,但是当生成Team Provisioning Profile: * ,它使用我在我一年前第一次注册。 I don't know if this is a problem, but I want to try associating the Team Provisioning Profile: * with my ##########.mydomainname.* App ID. 我不知道这是否是一个问题,但我想尝试将Team Provisioning Profile: *与我的##########.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. 我很厌倦不断摆弄配置 - 最终我让它工作,但它从来都不是同一个配方。

Can I somehow edit the App ID used in a profile? 我可以以某种方式编辑配置文件中使用的应用程序ID吗?

UPDATE: Marking question as answered, but it looks like the answer is that you can't do what I'm asking. 更新:将问题标记为已回答,但看起来答案是您不能按照我的要求进行操作。

您无法编辑现有的AppID,但可以将现有的配置文件与新的AppID关联或创建新的AppID。

According to Apple In Apr 2013, it is possible to delete App IDs. 根据Apple在2013年4月,可以删除App ID。 But In Sep 2013, Now again they changed so from now impossible to delete App IDs . 但是在2013年9月,现在他们又改变了,从现在开始不可能删除App ID。

update 19th sept: But now again you can delete 更新19日9月:但现在再次删除

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 Ids的功能后,我设法更改了与Xcode Team Provisioning Profile相关联的App Id。

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. 在我的情况下,我有两个通配符App ID,一个Xcode总是使用的是我第一次注册时创建的第一个错误。 To switch to my second preferred wild card id I did the following: 要切换到我的第二个首选通配符ID,我执行了以下操作:

  1. In iTunes Connect -> App Ids: Delete the offending App Id. 在iTunes Connect - > App Ids中:删除有问题的应用ID。
  2. In iTunes Connect -> Provisioning profiles: The Xcode profile is now marked invalid, delete it. 在iTunes Connect中 - >配置配置文件:Xcode配置文件现在标记为无效,请将其删除。
  3. In Xcode -> Organiser -> Devices -> Provisioning Profiles: Delete the profile and click refresh. 在Xcode - >管理器 - >设备 - >配置文件中:删除配置文件,然后单击刷新。

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连接有一些规则可以删除哪些应用程序ID,Xcode有一些默认行为,它选择哪个应用程序ID,如YMMV。

您似乎只能删除与iTunesConnnect注册的应用程序无关的应用程序ID。

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. 希望这对某些人有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 刷新由 Xcode 7 管理的团队配置文件中的设备? - Refresh devices in team provisioning profile managed by Xcode 7? IOS团队配置文件 - 待定(由Xcode管理) - IOS Team Provisioning Profile - Pending (Managed by Xcode) App Store Connect操作错误:设置配置文件无效……请使用与团队ID“ XX..XX”关联的设置配置文件 - App Store Connect Operation Error: Invalid provisioning profile… Please use provisioning profile associated with team ID “XX..XX” 由XCode管理的配置文件 - Provisioning profile managed by XCode 尝试分发IOS应用程序时,“请使用与团队ID相关联的配置配置文件” - “Please use a provisioning profile associated with team ID” When trying to distribute IOS app xcode 5:如何将UUID添加到xcode管理的配置文件中? - xcode 5: How do you add a UUID to a provisioning profile managed by xcode? Xcode-更改配置文件 - Xcode - change provisioning profile 如何修复“安装团队配置文件”中挂起的Xcode Organizer? - How to fix Xcode Organizer hanged at “Installing team provisioning profile”? 如何在Xcode上删除iOS Team Provisioning Profile / AppID? - How to remove iOS Team Provisioning Profile / AppID on Xcode? 什么是ios配置门户中的“由Xcode管理”配置文件以及它是如何创建的? - what is “Managed by Xcode” profile in ios provisioning portal and how was it created?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM