ios 没有为团队找到具有 iTunes Connect 访问权限的帐户

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

No accounts with iTunes Connect access have been found for the team

iosapp-storeapp-store-connect

提问by John

In Xcode, when I try to Product > Archive > Validate AppI get the error:

在 Xcode 中,当我尝试时Product > Archive > Validate App出现错误:

No accounts with iTunes Connect access have been found for the team "TEAM_NAME". iTunes Connect access is required for App Store distribution.

没有找到团队“TEAM_NAME”的具有 iTunes Connect 访问权限的帐户。App Store 分发需要 iTunes Connect 访问权限。

and/or

和/或

No accounts with App Store Connect access have been found for the team "TEAM_NAME". App Store Connect access is required for App Store Connect distribution.

没有找到团队“TEAM_NAME”具有 App Store Connect 访问权限的帐户。App Store Connect 分发需要 App Store Connect 访问权限。

and/or

和/或

Unable to authenticate with App Store Connect

无法通过 App Store Connect 进行身份验证

Xcode error screenshot

Xcode 错误截图

How can I fix this issue and validate my app?

如何解决此问题并验证我的应用程序?

回答by Bappaditya

Solution 1:

解决方案1:

  • Quit Xcode completely and re-open it to resolve the problem.
  • 完全退出Xcode并重新打开它以解决问题。

Solution 2:

解决方案2:

  • Please verify if it's App Store distribution profileor not.
  • If yes then try to login to Xcode with your apple Id which has access to iTunes Connector App Store Connect.
  • While validating the archive file please choose the same profile. It should work fine.
  • 请确认是App Store distribution profile不是。
  • 如果是,则尝试使用您的 Apple ID 登录 Xcode,该 ID 可以访问iTunes ConnectApp Store Connect
  • 在验证存档文件时,请选择相同的配置文件。它应该可以正常工作。

回答by Lucky

When this happens to me, closing Xcode completely and re-opening it solves the problem.

当我遇到这种情况时,完全关闭 Xcode 并重新打开它可以解决问题。

回答by Andy

Ran into this problem just now. Complete shutdown and restart of Xcode did the trick for me.

刚刚遇到这个问题。完全关闭并重新启动 Xcode 对我有用。

回答by Lakshay Sharma

Just restart Xcode and it will work :)

只需重新启动Xcode,它就会工作:)

Definitely it will work in Xcode 9 alternate you can try with Application Loader.

肯定它可以在 Xcode 9 替代品中工作,您可以尝试使用 Application Loader。

回答by Nagendra Badiganti

Make sure that your network firewall doesn`t block iTunes connect domain. You might experience with the same message if it is blocked.

确保您的网络防火墙没有阻止 iTunes 连接域。如果它被阻止,您可能会遇到相同的消息。

For me, iTunes & AppStore access is blocked firewall network level. I restart Xcode and mac, it worked like charm.

对我来说,iTunes 和 AppStore 访问在防火墙网络级别被阻止。我重新启动 Xcode 和 mac,它就像魅力一样工作。

回答by Helen Wood

UPDATE XCODE 10

更新 Xcode 10

September 2019

2019 年 9 月

If closing Xcode doesn't work, try logging out and logging in with the Apple Developer Account, which may not be the same as the iCloud accountin many cases.

如果关闭 Xcode 不起作用,请尝试注销并使用 Apple Developer Account 登录在许多情况下可能与 iCloud 帐户不同。

These two steps would solve 95% of these error cases.

这两个步骤将解决 95% 的错误情况。

回答by Sky

Swift 5, iOS 13

斯威夫特 5,iOS 13

Just restart Xcode, everything works

只需重新启动Xcode,一切正常

回答by Md. Ibrahim

Restart Xcode or Restart your mac, In my case I just restart Xcode

重新启动 Xcode 或重新启动您的 mac,在我的情况下,我只是重新启动 Xcode

回答by Haroldo Gondim

Go to: Xcode> Preferences...

转到:Xcode>首选项...

  1. Remove your account
  2. Add your apple ID again

    Accounts

  1. 删除您的帐户
  2. 再次添加您的 Apple ID

    帐户

回答by yannisalexiou

Another solution that works for me is to disableAutomatically manage signingand the restart the Xcode.

另一个对我有用的解决方案是禁用Automatically manage signing并重新启动 Xcode。

Then I enableagain the Automatically manage signingto upload the application.

然后我再次启用Automatically manage signing上传应用程序。

Hope that helps.

希望有帮助。