Xcode 6 won't start (OS X 10.9.4)

2019-03-09 08:51发布

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.

enter image description here

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?

5条回答
We Are One
2楼-- · 2019-03-09 09:16

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.

The workaround is launching Xcode by command line via SUDO (as Superuser/Root):

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.

查看更多
仙女界的扛把子
3楼-- · 2019-03-09 09:19

Try running the Xcode binary directly instead of using LSS.

From the CLI:

/Applications/Xcode.app/Contents/MacOS/Xcode

If something is wrong it will give you way more useful output.

查看更多
不美不萌又怎样
4楼-- · 2019-03-09 09:23

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.

查看更多
放我归山
5楼-- · 2019-03-09 09:25

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:

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

I have filed a bug with Apple regarding this issue.

查看更多
我欲成王,谁敢阻挡
6楼-- · 2019-03-09 09:42

I had the exact same problem after updating to 10.9.4.

I managed to get Xcode starting again by removing the PlugInKit.framework from the /System/Library/PrivateFrameworks folder

(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

Note: This was a solution to work around a XCode launch issue related to a "Symbol not found" error within the PlugInKit.framework while XCode 6 was still in Beta 2/3. This is probably not relevant any more now that XCode 6 is official.

查看更多
登录 后发表回答