如何更改您的 XCode iTunes Connect 登录?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3970156/
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 your XCode iTunes Connect login?
提问by vinzenzweber
I am using several accounts to manage my customers iPhone/iPad applications. Therefore I need to connect to iTunes Connectwith different logins. How can I change the login in XCodeor Application Loader? It is always set to one default value that I probably entered the first time XCode was started.
我正在使用多个帐户来管理我的客户 iPhone/iPad 应用程序。因此,我需要使用不同的登录名连接到iTunes Connect。如何更改XCode或Application Loader 中的登录名?它始终设置为我可能在第一次启动 XCode 时输入的默认值。
When it comes to validating or submitting an application using the XCode OrganizerI start to hate Apple for what they have done to use developers. In those situations I feel like a worm inside an Apple, pretty lost. The problem is that clicking on one of those buttons (Validate... or Submit...) is NOT giving ANY kind of feedback except in rare occations. The only way to see what is happening is using Consoleto see XCode log messages.
当谈到使用XCode Organizer验证或提交应用程序时,我开始讨厌 Apple,因为他们为使用开发人员所做的一切。在这种情况下,我感觉自己就像苹果里面的一条虫子,非常迷茫。问题是点击其中一个按钮(验证...或提交...)不会给出任何类型的反馈,除非在极少数情况下。查看正在发生的事情的唯一方法是使用控制台查看 XCode 日志消息。
采纳答案by Thomas Clayson
You shouldn't need to change your itunes connect details in XCode. As long as you set the correct bundle identifier you can use a certificate from any provisioning portal and you can build your application against any developer account fine.
您不需要在 XCode 中更改您的 iTunes 连接详细信息。只要您设置了正确的捆绑标识符,您就可以使用来自任何供应门户的证书,并且您可以针对任何开发人员帐户构建您的应用程序。
To change your log in details in application loader you have to go Window -> Run setup wizard... and re-enter your log in details. Then you can choose File -> New and it should find any waiting apps in the account you've just set up.
要在应用程序加载器中更改您的登录详细信息,您必须转到 Window -> Run setup Wizard... 并重新输入您的登录详细信息。然后您可以选择 File -> New,它应该会在您刚刚设置的帐户中找到所有等待的应用程序。
回答by dingo sky
I don't see any answers that pertain to the XCode portion of the following question in the original post: "How can I change the login in XCodeor Application Loader?"
我在原始帖子中没有看到与以下问题的 XCode 部分有关的任何答案:“如何更改XCode或Application Loader 中的登录名?”
This was significant for me as I have multiple Apple Dev IDs. When setting up a new MBP I needed to Refresh my Provisioning Profiles in the XCode Devices panel. The Refresh button uses the daw2.apple.com Web form password saved in your Keychain if you select the Remember Password in Keychain option on the "Sign in with your Apple ID" dialog. I had done so, which was preventing the downloading of provisioning profiles from my other accounts. Furthermore, the Refresh button uses cached credentials if you Refresh again after entering your Apple ID, even if you haven't selected the Keychain option.
这对我来说意义重大,因为我有多个 Apple Dev ID。设置新 MBP 时,我需要在 XCode 设备面板中刷新我的配置文件。如果您在“使用您的 Apple ID 登录”对话框中选择记住钥匙串中的密码选项,则刷新按钮将使用保存在钥匙串中的 daw2.apple.com Web 表单密码。我这样做了,这阻止了从我的其他帐户下载配置文件。此外,如果您在输入 Apple ID 后再次刷新,刷新按钮会使用缓存的凭据,即使您没有选择钥匙串选项。
So to Refresh multiple Apple ID provisioning profiles in XCode either:
因此,要在 XCode 中刷新多个 Apple ID 配置文件,请执行以下任一操作:
Don't use the Keychain option to save your credentials and restart XCode for each Apple ID that you want to download refreshed provisioning profiles.
If you have saved credentials in the Keychain and you need to use a different Apple ID, remove the Keychain login item for daw2.apple.com and restart XCode.
不要使用钥匙串选项来保存您的凭据并为您要下载刷新的配置文件的每个 Apple ID 重新启动 XCode。
如果您在 Keychain 中保存了凭据并且需要使用不同的 Apple ID,请删除 daw2.apple.com 的 Keychain 登录项并重新启动 XCode。
回答by vinzenzweber
The only way I found out to change my iTunes Connectlogin is using Keychain Access. Simply hit Cmd + Spacebar and search for Keychain Access. Launch that application and enter "itunes" in the search bar of Keychain Access. Choose "All Items" in Category. Delete all items that are found. Now restart XCode or Application Loader, whatever you need to use. It should be asking you for a login again!
我发现更改iTunes Connect登录名的唯一方法是使用Keychain Access。只需点击 Cmd + Spacebar 并搜索Keychain Access。启动该应用程序并在Keychain Access的搜索栏中输入“itunes” 。在类别中选择“所有项目”。删除找到的所有项目。现在重新启动 XCode 或 Application Loader,无论您需要使用什么。它应该再次要求您登录!
回答by hotpaw2
A good method to keep Keychain Certificates, XCode settings and provision profiles, and Safari Developer portal logins completely separated is to use a separate Mac User Login account for each different client (and developer login). This also helps keep customer IP cleanly separated. If you need to login and show an account to a customer (Simulator demo, etc.), they won't see any IP from other customers.
将钥匙串证书、XCode 设置和配置文件以及 Safari 开发者门户登录完全分开的一个好方法是为每个不同的客户端(和开发者登录)使用单独的 Mac 用户登录帐户。这也有助于保持客户 IP 完全分离。如果您需要登录并向客户显示帐户(模拟器演示等),他们将看不到其他客户的任何 IP。
You can check any of your common code out of a shared version control repository into each account as needed. You can also use the Mac's fast user switch for working among the several accounts.
您可以根据需要将共享版本控制存储库中的任何公共代码签入每个帐户。您还可以使用 Mac 的快速用户切换在多个帐户之间工作。
回答by David K. Hess
I believe there is finally a way to make this work while preserving your sanity in Xcode 6.3.2.
我相信最终有一种方法可以在 Xcode 6.3.2 中保持您的理智的同时进行这项工作。
The main trick is to make sure that your iTunes Connect account and Member Center account Apple id's are the same for any particular organization. It looks like Xcode assumes that and tries to use the Member Center Apple ID to access iTunes Connect.
主要技巧是确保您的 iTunes Connect 帐户和会员中心帐户 Apple id 对于任何特定组织都是相同的。看起来 Xcode 假设并尝试使用会员中心 Apple ID 来访问 iTunes Connect。
Make sure and use a "+folder" style of email address to avoid creating and managing a whole bunch of real email accounts (see this for more info: https://webapps.stackexchange.com/questions/26053/gmail-address-with-within-the-recipient-name). But here's the crucial part - add that "+folder" style account to Member Center (i.e. invite the "+folder" account) for that organization and remove your plain Apple ID if you were using it there.
确保并使用“+文件夹”样式的电子邮件地址,以避免创建和管理一大堆真实的电子邮件帐户(有关更多信息,请参阅:https: //webapps.stackexchange.com/questions/26053/gmail-address- with-in-the-recipient-name)。但这是关键部分 - 将“+文件夹”样式的帐户添加到该组织的会员中心(即邀请“+文件夹”帐户),如果您在那里使用它,请删除您的普通 Apple ID。
I.e. don't use Member Center's ability to associate multiple organizations with one account. That will just confuse Xcode if you also need to access multiple iTunes Connect accounts. Use one "+folder" account for each organization you are working with and add that Apple ID to both iTunes Connect and Member Center.
即不要使用会员中心的功能将多个组织与一个帐户相关联。如果您还需要访问多个 iTunes Connect 帐户,那只会混淆 Xcode。为您合作的每个组织使用一个“+文件夹”帐户,并将该 Apple ID 添加到 iTunes Connect 和会员中心。