重启后Xcode不再启动

时间:2015-06-19 08:51:30

标签: xcode macos

重新启动我的mac后,Xcode无法启动。

我在OS X 10.10.2上使用Xcode 6.3。

我点击图标,没有任何反应。我搜索了一会儿,发现了如何使用CLI启动Xcode。

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

这样可行,但有以下错误:

^[[Aobjc[2051]: Class IDEBlockScrollView is implemented in both /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/IDEKit and /Applications/Xcode.app/Contents/PlugIns/IDEProductsUI.ideplugin/Contents/MacOS/IDEProductsUI. One of the two will be used. Which one is undefined.
2015-06-19 10:47:29.245 Xcode[2051:80392]  DeveloperPortal: Using pre-existing current store at URL (file:///Users/admin/Library/Developer/Xcode/DeveloperPortal%206.3.db).
2015-06-19 10:47:29.319 Xcode[2051:80101] [MT] iPhoneSimulator: SimVerifier returned: Error Domain=NSPOSIXErrorDomain Code=53 "Simulator verification failed." UserInfo=0x7fa3eee318d0 {NSLocalizedFailureReason=A connection to the simulator verification service could not be established., NSLocalizedRecoverySuggestion=Ensure that Xcode.app is installed on a volume with ownership enabled., NSLocalizedDescription=Simulator verification failed.}

如何修复Xcode并再次启动图标?

1 个答案:

答案 0 :(得分:1)

当我遇到这种情况时,只有这一步有效:

  • 删除/ Library / Developer
  • 删除Xcode.app
  • 重启您的OS X
  • 下载并重新安装Xcode
  • 运行Xcode

让我知道它是否有效?