打开组织者时xcode 6.3挂起

时间:2020-12-13 16:40:06

I archived my project for adhoc deployment and it got stuck after it said archive completed.

我将我的项目归档为adhoc部署,并在归档完成后卡住了。

Now whenever I click Window->Organizer Xcode freezes up. I need to save my archive for adhoc deployment but it just won't let me. I've tried restarting xcode and my macbook.

现在每当我点击Window-> Organizer Xcode冻结。我需要保存我的存档以进行adhoc部署,但它不会让我。我试过重启xcode和我的macbook。

Any thoughts?

4 个解决方案

#1


16  

I don't know what was causing my xCode (6.3.1) organiser to freeze, but I manually cleared out the Archives folder and organiser returned.

我不知道是什么导致我的xCode(6.3.1)组织者冻结,但我手动清除了Archives文件夹并返回了组织者。

rm -rfd ~/Library/Developer/Xcode/Archives/*

rm -rfd~ / Library / Developer / Xcode / Archives / *

If, like me, you have archives you want to keep, remove individual archive folders by date order as needed and then try open organiser.

如果像我一样,您有要保留的存档,请根据需要按日期顺序删除单个存档文件夹,然后尝试打开管理器。

rm -rfd ~/Library/Developer/Xcode/Archives/2015-xx-xx

rm -rfd~ / Library / Developer / Xcode / Archives / 2015-xx-xx

#2


11  

I removed all of the archives in Archives directory but the Organizer kept on hanging.

我删除了Archives目录中的所有档案,但是管理器一直挂着。

If you have too many different products (mine are over 200), Organizer shows up, then the colored wheel appears and keeps spinning forever. Move most of the directories in the ~/Library/Developer/Xcode/Products directory somewhere else, and leave the needed ones only. That fixed the hang for me.

如果你有太多不同的产品(我的超过200),组织者出现,然后彩色轮出现并永远旋转。将〜/ Library / Developer / Xcode / Products目录中的大多数目录移动到其他位置,并仅保留所需的目录。这为我解决了问题。

#3


1  

I had this too and filed bug 22455581 on it.

我也有这个,并提交了错误22455581。

Xcode 6.4 and 7b5 (I didn't try 6.3) do something with the archives when the organizer window is first opened after each launch. This something takes a bit over a half second for each archive during which time all you see is the spinning beachball of death and Force Quit declaring Xcode is unresponsive. So in my case with 7+GB of archives, had I waited a thousand or so seconds, the organizer window would have eventually popped up.

Xcode 6.4和7b5(我没有尝试6.3)在每次启动后首次打开组织者窗口时对存档执行某些操作。对于每个档案,这个事情需要花费半秒多的时间,在此期间你所看到的就是死亡的旋转沙滩球和Force Quit宣称Xcode没有反应。所以在我使用7 + GB档案的情况下,如果我等了一千秒左右,组织者窗口最终会弹出。

As answered above, the workaround is fairly simple: quit Xcode and reduce the number of archives in ~/Library/Developer/Xcode/Archives. Move them out to somewhere else so you can move them back in as needed.

如上所述,解决方法非常简单:退出Xcode并减少〜/ Library / Developer / Xcode / Archives中的归档数量。将它们移到其他地方,以便您可以根据需要将它们移回。

#4


1  

Someone at apple forget to do stuff on the background thread,... They look into all your account that xcode has access to and than scans all the folders for files. Also it makes a lot of webcalls for each related project to get crash logs. During this process the entire main thread stalls until it is all finished.... You cannot really do anything yourself for it except complain to apple or try to keep the apps/accounts you use at the same time to a minimum (not a real solution...)

有人在苹果忘了在后台线程上做些什么,...他们查看xcode可以访问的所有帐户,然后扫描所有文件夹中的文件。此外,它为每个相关项目提供了大量的网络邮件来获取崩溃日志。在这个过程中,整个主线程都会停止,直到它全部完成....除了向苹果抱怨或尝试将您同时使用的应用程序/帐户保持在最低限度(不是真实的)之外,您无法自己做任何事情。解...)

#1


16  

I don't know what was causing my xCode (6.3.1) organiser to freeze, but I manually cleared out the Archives folder and organiser returned.

我不知道是什么导致我的xCode(6.3.1)组织者冻结,但我手动清除了Archives文件夹并返回了组织者。

rm -rfd ~/Library/Developer/Xcode/Archives/*

rm -rfd~ / Library / Developer / Xcode / Archives / *

If, like me, you have archives you want to keep, remove individual archive folders by date order as needed and then try open organiser.

如果像我一样,您有要保留的存档,请根据需要按日期顺序删除单个存档文件夹,然后尝试打开管理器。

rm -rfd ~/Library/Developer/Xcode/Archives/2015-xx-xx

rm -rfd~ / Library / Developer / Xcode / Archives / 2015-xx-xx

#2


11  

I removed all of the archives in Archives directory but the Organizer kept on hanging.

我删除了Archives目录中的所有档案,但是管理器一直挂着。

If you have too many different products (mine are over 200), Organizer shows up, then the colored wheel appears and keeps spinning forever. Move most of the directories in the ~/Library/Developer/Xcode/Products directory somewhere else, and leave the needed ones only. That fixed the hang for me.

如果你有太多不同的产品(我的超过200),组织者出现,然后彩色轮出现并永远旋转。将〜/ Library / Developer / Xcode / Products目录中的大多数目录移动到其他位置,并仅保留所需的目录。这为我解决了问题。

#3


1  

I had this too and filed bug 22455581 on it.

我也有这个,并提交了错误22455581。

Xcode 6.4 and 7b5 (I didn't try 6.3) do something with the archives when the organizer window is first opened after each launch. This something takes a bit over a half second for each archive during which time all you see is the spinning beachball of death and Force Quit declaring Xcode is unresponsive. So in my case with 7+GB of archives, had I waited a thousand or so seconds, the organizer window would have eventually popped up.

Xcode 6.4和7b5(我没有尝试6.3)在每次启动后首次打开组织者窗口时对存档执行某些操作。对于每个档案,这个事情需要花费半秒多的时间,在此期间你所看到的就是死亡的旋转沙滩球和Force Quit宣称Xcode没有反应。所以在我使用7 + GB档案的情况下,如果我等了一千秒左右,组织者窗口最终会弹出。

As answered above, the workaround is fairly simple: quit Xcode and reduce the number of archives in ~/Library/Developer/Xcode/Archives. Move them out to somewhere else so you can move them back in as needed.

如上所述,解决方法非常简单:退出Xcode并减少〜/ Library / Developer / Xcode / Archives中的归档数量。将它们移到其他地方,以便您可以根据需要将它们移回。

#4


1  

Someone at apple forget to do stuff on the background thread,... They look into all your account that xcode has access to and than scans all the folders for files. Also it makes a lot of webcalls for each related project to get crash logs. During this process the entire main thread stalls until it is all finished.... You cannot really do anything yourself for it except complain to apple or try to keep the apps/accounts you use at the same time to a minimum (not a real solution...)

有人在苹果忘了在后台线程上做些什么,...他们查看xcode可以访问的所有帐户,然后扫描所有文件夹中的文件。此外,它为每个相关项目提供了大量的网络邮件来获取崩溃日志。在这个过程中,整个主线程都会停止,直到它全部完成....除了向苹果抱怨或尝试将您同时使用的应用程序/帐户保持在最低限度(不是真实的)之外,您无法自己做任何事情。解...)