ios Xcode 6 无法启动 (OS X 10.9.4)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24567433/
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
Xcode 6 won't start (OS X 10.9.4)
提问by UberJason
Recently, within the last few days, whenever I try to open Xcode6-Beta2 on my 2013 11" MacBook Air running OS X 10.9.4, I get a problem report and Xcode won't run. I tried uninstalling Xcode 6 (by dragging it to the trash can) and reinstalling it, and I tried a computer restart - neither has solved the problem.
最近,在最近几天内,每当我尝试在运行 OS X 10.9.4 的 2013 11" MacBook Air 上打开 Xcode6-Beta2 时,我都会收到一个问题报告并且 Xcode 无法运行。我尝试卸载 Xcode 6(通过拖动它到垃圾桶)并重新安装,我尝试重新启动计算机 - 都没有解决问题。
My best guess is that it's related to OS X 10.9.4 - I hadn't really touched Xcode in a week or so, and the only major thing I had done on my machine in the last week was to update to 10.9.4. But I'm not really sure. Has anyone else seen this error?
我最好的猜测是它与 OS X 10.9.4 相关——我已经一周左右没有真正接触 Xcode,上周我在我的机器上做的唯一重要的事情就是更新到 10.9.4。但我不确定。有没有其他人看到过这个错误?
回答by
XCode 6 GM wasn't opening for me either, no matter how long I waited. I've seen this behavior before and it's usually due to a program needing ROOT access to complete or delete something, but for some reason isn't prompting you.
无论我等了多久,XCode 6 GM 也没有为我打开。我以前见过这种行为,通常是由于程序需要 ROOT 访问权限才能完成或删除某些内容,但由于某种原因没有提示您。
The workaround is launching Xcode by command line via SUDO(as Superuser/Root):
解决方法是通过SUDO(作为超级用户/Root)通过命令行启动 Xcode :
sudo open --new /Applications/Xcode.app
After it opens you may close it and re-launch it normally from that point forward.
在它打开后,您可以关闭它并从那时起正常重新启动它。
Hope it helps.
希望能帮助到你。
回答by Rizwan Shah
Try running the Xcode binary directly instead of using LSS.
尝试直接运行 Xcode 二进制文件而不是使用 LSS。
From the CLI:
从 CLI:
/Applications/Xcode.app/Contents/MacOS/Xcode
/Applications/Xcode.app/Contents/MacOS/Xcode
If something is wrong it will give you way more useful output.
如果出现问题,它将为您提供更有用的输出。
回答by Marc
On my quite new Macbook Pro with plenty of memory and SSD, it took ages to start for the first time. So my suggestion would be to wait a little bit more and see if it does start. My first startup took aprox. 4 minutes or something.
在我相当新的配备大量内存和 SSD 的 Macbook Pro 上,第一次启动需要很长时间。所以我的建议是再等一会儿,看看它是否确实开始了。我的第一次创业花了大约。4分钟什么的。
回答by derricky
I had the exact same problem after updating to 10.9.4.
更新到 10.9.4 后,我遇到了完全相同的问题。
I managed to get Xcode starting again by removing the PlugInKit.frameworkfrom the /System/Library/PrivateFrameworks folder
我设法通过从 /System/Library/PrivateFrameworks 文件夹中删除PlugInKit.framework重新启动 Xcode
(Of course, it is a good idea to back up the framework instead of simply deleting it in case you need it later)
(当然,最好备份框架而不是简单地删除它,以防以后需要它)
Updated Oct 9
10 月 9 日更新
Note:This was a solution to work around a XCode launch issue related to a "Symbol not found" error within the PlugInKit.frameworkwhile XCode 6 was still in Beta 2/3. This is probably not relevant any more now that XCode 6 is official.
注意:这是解决与PlugInKit.framework 中的“Symbol not found”错误相关的 XCode 启动问题的解决方案,而 XCode 6 仍处于 Beta 2/3 中。既然 XCode 6 是官方的,这可能不再相关了。
回答by Adrian
I was using Xcode6-Beta3 fine up until today when I updated to 10.9.4. Now I get the same error, the interesting part of which is:
直到今天我更新到 10.9.4 之前,我一直在使用 Xcode6-Beta3。现在我得到了同样的错误,其中有趣的部分是:
Application Specific Information: dyld: launch, loading dependent libraries
Dyld Error Message: Symbol not found: _OBJC_CLASS_$_LSApplicationProxy Referenced from: /System/Library/PrivateFrameworks/PlugInKit.framework/Versions/A/PlugInKit Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices in /System/Library/PrivateFrameworks/PlugInKit.framework/Versions/A/PlugInKit
应用程序特定信息:dyld:启动、加载依赖库
Dyld 错误消息:找不到符号:_OBJC_CLASS_$_LSApplicationProxy 引用自:/System/Library/PrivateFrameworks/PlugInKit.framework/Versions/A/PlugInKit 预期在:/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 中/System/Library/PrivateFrameworks/PlugInKit.framework/Versions/A/PlugInKit
I have filed a bug with Apple regarding this issue.
我已向 Apple 提交了有关此问题的错误。