xcode 从开发人员门户获取团队列表 - 超时
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29283264/
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
fetching list of teams from developer portal - time out
提问by Boris Gafurov
Trying to export an archive for Ad Hoc distribution but getting stuck with "fetching list of teams from developer portal" that times out in a minute or so and that is it.
尝试导出 Ad Hoc 分发的存档,但遇到“从开发人员门户获取团队列表”的问题,该列表会在一分钟左右超时,仅此而已。
Cannot export.
无法导出。
Anybody experienced that?
有人经历过吗?
采纳答案by CodeSmith
I get this all the time, never saw it before and it started happening about a week ago and now it happens frequently. It looks like something on apple's server causing the problem. Attempts will go through eventually if you keep retrying. Some of the suggestions people are posting aren't actually fixing the issue, they are just doing something random and then retrying again later and it's just luck that it worked.
我一直都这样,以前从未见过,大约一周前开始发生,现在经常发生。看起来像苹果服务器上的某些东西导致了这个问题。如果您继续重试,尝试最终会通过。人们发布的一些建议实际上并没有解决问题,他们只是在做一些随机的事情,然后稍后再试,这只是运气好。
You can cancel the attempt quickly as when it works it will go through in a second or two, so you don't need to wait for the timeout to try again, just cancel it and retry.
您可以快速取消尝试,因为它会在一两秒钟内完成,因此您无需等待超时再次尝试,只需取消并重试即可。
Restarting wifi might help if you are having network problems and seems to fix the issue temporarily for some people.
如果您遇到网络问题并且似乎可以暂时解决某些人的问题,则重新启动 wifi 可能会有所帮助。
Hope this helps and Apple fixes it soon.
希望这会有所帮助,Apple 会尽快修复它。
回答by Mike Gledhill
I've been experiencing this a lot with Xcode 6.4, and OS X Yosemite.
我在 Xcode 6.4 和 OS X Yosemite 上经常遇到这种情况。
All other applications on my MacBook can happily use the WiFi, but this particular Xcode screen often hangs on the "Fetching list of teams" dialog, before timing out.
我 MacBook 上的所有其他应用程序都可以愉快地使用 WiFi,但是这个特定的 Xcode 屏幕在超时之前经常挂在“获取团队列表”对话框中。
My solution: turn WiFi off on your MacBook, then turn it back on again.
我的解决方案:关闭 MacBook 上的 WiFi,然后重新打开。
Suddenly, Xcode bursts into life again, and isable to get the list of teams.
突然,Xcode的扫射再次生活,并且是能够得到强队之列。
(Sigh.)
(叹。)
Update
更新
Btw, if this doesn't work, reboot your MacBook. That also fixes the problem.
顺便说一句,如果这不起作用,请重新启动 MacBook。这也解决了问题。
回答by Reinaldo
I know this might sound weird, but deleting and creating the archive worked for me. Hope it helps someone.
我知道这听起来很奇怪,但删除和创建存档对我有用。希望它可以帮助某人。
回答by Lucas Leon
It was happening for me all the day. Not 100% sure why but I removed all of apple ids associated with apple developer portal in Xcode/Preference and added again only the one I need to use to upload the app. Solved the problem. I believe some apple ids cause problems sometimes.
它整天都在发生在我身上。不是 100% 确定为什么,但我在 Xcode/Preference 中删除了与苹果开发者门户相关的所有苹果 ID,并再次添加了我需要用来上传应用程序的 ID。解决了问题。我相信某些苹果 ID 有时会引起问题。
Hope it helps.
希望能帮助到你。
回答by rocky
I ran into this issue today on Xcode 7.1. None of the above worked for me at all. Solved the problem by updating to Xcode 7.1.1.
我今天在 Xcode 7.1 上遇到了这个问题。以上都不适合我。通过更新到 Xcode 7.1.1 解决了该问题。
回答by Darren
I think iTunes Connect is having a few issues today. I've had numerous upload issues.
我认为 iTunes Connect 今天遇到了一些问题。我有很多上传问题。
回答by David Rees
I had this issue right after I added an account to my Xcode preferences, I don't know if there's a limit on how many one can have (I had eight at that point), but once I deleted the recently added account, it worked straight away.
我在我的 Xcode 首选项中添加了一个帐户后立即遇到了这个问题,我不知道一个帐户是否有限制(当时我有 8 个),但是一旦我删除了最近添加的帐户,它就起作用了马上。
回答by bengoesboom
I've had this issue before, and sometimes waiting or restarting xcode fixes it, but not always, in which case you can do everything from the command line.
我以前遇到过这个问题,有时等待或重新启动 xcode 会修复它,但并非总是如此,在这种情况下,您可以从命令行执行所有操作。
First, create an xcarchive
首先,创建一个 xcarchive
xcodebuild archive -project PROJECTNAME.xcodeproj -scheme SCHEMENAME -archivePath PROJECTNAME.xcarchive
xcodebuild archive -project PROJECTNAME.xcodeproj -scheme SCHEMENAME -archivePath PROJECTNAME.xcarchive
Then, export the xcarchive
. You'll need to know the name of your provisioning profile (not the filename), which you can find in the Apple Development Portal.
然后,导出xcarchive
. 您需要知道您的配置文件的名称(而不是文件名),您可以在 Apple 开发门户中找到该名称。
xcodebuild -exportArchive -archivePath PROJECTNAME.xcarchive -exportPath PROJECTNAME -exportFormat ipa -exportProvisioningProfile “PROVISIONINGPROFILENAME”
xcodebuild -exportArchive -archivePath PROJECTNAME.xcarchive -exportPath PROJECTNAME -exportFormat ipa -exportProvisioningProfile “PROVISIONINGPROFILENAME”
If you need additional configuration for archiving, you can read the man page for xcodebuild
如果你需要额外的归档配置,你可以阅读 xcodebuild 的手册页
回答by Boris Gafurov
Answering my our question because I found solution that works for me (same as Accepted Answer by CodeSmith):
回答我的问题,因为我找到了适合我的解决方案(与 CodeSmith 接受的答案相同):
I am still getting this problem 50% of the times, but lately I found sort of a solution:
我仍然有 50% 的时间遇到这个问题,但最近我找到了一种解决方案:
I noticed that when fetching stays longer than ~5 sec it never finds my profile and it always returns time out, so I just cancel it if it is longer than 5sec and start export over. Sometimes it takes 3-5 restarts, but eventually it goes through fetching very quickly ~1-2sec and shows my profile.
我注意到当获取时间超过 ~5 秒时,它永远找不到我的个人资料,并且它总是返回超时,所以如果它超过 5 秒,我就取消它并重新开始导出。有时需要 3-5 次重新启动,但最终它会非常快速地通过 ~1-2sec 获取并显示我的个人资料。
SO, DO NOT WAIT FOR IT! IT WILL TIME OUT, JUST START OVER.
所以,不要等待!它会超时,重新开始。
No need to restart XCode or Mac, just cancel export and start it over.
无需重新启动 XCode 或 Mac,只需取消导出并重新启动即可。
Hope it helps somebody
希望它可以帮助某人
回答by Andrey Chernukha
Simply restarting Mac immediately helped me
只需重新启动 Mac 即可立即帮助我