xcode 没有关闭元素的关闭窗口(Xcodes“安装警报”)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2810070/
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
Close Window (Xcodes "Installation Alert") that has no kind of closing elements
提问by Allisone
Is there a tool with which I can click on a window and the tool will tell me which process that window belongs to ?
是否有一个工具可以让我点击一个窗口,该工具会告诉我该窗口属于哪个进程?
Explanation:
解释:
I was working in Xcode 3.2.3 for iPhone OS 4.0beta3. Wanted to install old Xcode (all old SDKs got removed with beta3).
我在 iPhone OS 4.0beta3 的 Xcode 3.2.3 中工作。想要安装旧的 Xcode(所有旧的 SDK 都被 beta3 删除了)。
Didn't want to waste time so I kept working in new Xcode for iPhone OS 4.0beta3 while downloading and then starting the installation of xcode 3.2.2 with iPhone SDK 3.2.
不想浪费时间,所以我在下载时继续使用适用于 iPhone OS 4.0beta3 的新 Xcode,然后开始使用 iPhone SDK 3.2 安装 xcode 3.2.2。
After sometime there came this window:
过了一段时间,出现了这个窗口:
"Installation Alert"
“安装警报”
In order to continue installation, please close the following application:
Xcode
But by then I didn't want to interrupt my programming session as I was near a next milestone. Well, next day and after a Macbook standby I finally wanted to close the Xcode with SDK 4beta3 and finally install the old SDK. But the Installation Alert wouldn't disappear (even though Xcode was closed now). So I thought ok, then lets just stop and restart the Xcode Installation... So I went to the "Activity Monitor" and stopped the Xcode Installation. The Xcode Installation window got closed, but the "Installation Alert" is still there.
但到那时我不想打断我的编程会话,因为我接近下一个里程碑。好吧,第二天,在 Macbook 待机后,我终于想用 SDK 4beta3 关闭 Xcode,最后安装旧的 SDK。但是安装警报不会消失(即使 Xcode 现在已关闭)。所以我想好了,然后让我们停止并重新启动 Xcode 安装......所以我去了“活动监视器”并停止了 Xcode 安装。Xcode 安装窗口已关闭,但“安装警报”仍然存在。
So how do you get rid of such a window ? It has no buttons, no menu in which to select a "close window".
那么你如何摆脱这样的窗口呢?它没有按钮,也没有选择“关闭窗口”的菜单。
Edit: Well a restart of course solves this problem. And I never faced this problem again.
编辑:嗯,重启当然可以解决这个问题。我再也没有遇到过这个问题。
回答by Russ Davis
He's right. Kill 'AlertAll' and that will allow you to proceed. Make sure iTunes is also killed.
他是对的。杀死“AlertAll”,这将允许您继续。确保 iTunes 也被杀死。
回答by David Weisz
Killing the ItunesHelper is the solution.
杀死 iTunesHelper 是解决方案。
For those who don't remember how to do that:
对于那些不记得怎么做的人:
- Go to Utilities
- Open Activity Monitor
- Find the ItunesHelper in the list of running processes.
- Click on the "Quit process" button on the upper left corner of the window.
- 转到实用程序
- 打开活动监视器
- 在正在运行的进程列表中找到 ItunesHelper。
- 单击窗口左上角的“退出进程”按钮。
回答by frankie
"Same here... I am trying to install a 2gb xcode but that stupid window won't close>>> ANgRy"
“这里也一样......我正在尝试安装一个 2gb 的 xcode,但那个愚蠢的窗口不会关闭>>> AngRy”
Killing the iTunesHelper process worked for me.
杀死 iTunesHelper 进程对我有用。
回答by Joost
The following worked for me with Xcode 4.1 on Lion 10.7.0:
以下内容适用于 Lion 10.7.0 上的 Xcode 4.1:
killall iTunesHelper
杀死所有 iTunesHelper
The installation resumed after that. Fortunately I did not have to kill the messenger, AlertAll.
之后安装继续。幸运的是,我不必杀死信使 AlertAll。
回答by Misiek
You just have to kill "alert" process, via Activity Monitor or Terminal with killall command (after quitting iTunes of course). Quide annoying bug indeed but hey - I'm not gonna reboot and reinstall all of these 4GB just because of a stupid window :)
您只需要使用 killall 命令通过活动监视器或终端终止“警报”进程(当然是在退出 iTunes 之后)。确实很烦人的错误,但是嘿 - 我不会因为一个愚蠢的窗口而重新启动并重新安装所有这些 4GB :)
回答by Adam Prall
It's now called “AlertAll,” and killing it no longer lets the installation continue. Best just to force quit XCode's Installer instance (right or option-click on Installer icon, choose Force Quit), and then re-begin installation, making sure iTunes is shutdown first.
它现在被称为“AlertAll”,杀死它不再让安装继续。最好只是强制退出 XCode 的安装程序实例(右键单击安装程序图标,选择强制退出),然后重新开始安装,确保首先关闭 iTunes。
回答by Christiaan
I had the same issue, turns out another user was logged onto the OS with iTunes open and once I closed that instance the message went away and the installation finished.
我遇到了同样的问题,结果另一个用户在 iTunes 打开的情况下登录到操作系统,一旦我关闭该实例,消息就会消失并且安装完成。
回答by Jerry
When I killed the "AlertAll" process, the install finished, but Xcode would NOT launch. I killed the iTunes Helper process and the alert window closed and install finished correctly.
当我终止“AlertAll”进程时,安装完成,但 Xcode 不会启动。我终止了 iTunes Helper 进程并关闭了警报窗口并正确完成了安装。
回答by Ivanthehackerful
I found out that you just have to reinstall it. Just turn off your computer and turn it back on and thats it! Simple as that! ;)
我发现你只需要重新安装它。只需关闭您的计算机并重新打开它就可以了!就那么简单!;)