Xcode 9 Beta 2失败 - DVTPlugInErrorDomain插件加载失败

时间:2017-07-07 04:42:19

标签: xcode9-beta

从Apple网站下载并安装Xcode 9 beta 2后,它无法在Sierra OS X版本10.12.5上启动,并出现以下错误报告:

  

处理:Xcode [4789]路径:
  /Applications/Xcode-beta.app/Contents/MacOS/Xcode Identifier:
  com.apple.dt.Xcode版本:9.0(13158.29)构建信息:
  IDEFrameworks-13158029000000000~6代码类型:X86-64   (母语)父进程:??? [1]负责人:Xcode   [4789]用户ID:501

     

日期/时间:2017-07-10 09:27:38.822 +0300操作系统版本:
  Mac OS X 10.12.5(16F73)报告版本:12匿名UUID:
  D8406E47-CD80-D96B-2976-599E84980DE2

     

睡眠/唤醒UUID:A8F0AF0B-2FF1-45A9-89AD-505F25730705

     

自启动以来的时间清醒:自唤醒以来的20000秒时间:3800   秒

     

系统完整性保护:已启用

     

Crashed Thread:0 Dispatch queue:com.apple.main-thread

     

异常类型:EXC_CRASH(SIGABRT)异常代码:
  0x0000000000000000,0x0000000000000000异常注意:
  EXC_CORPSE_NOTIFY

     

特定应用信息:ProductBuildVersion:9M137d UNCAUGHT   EXCEPTION(NSInternalInconsistencyException):获取值的错误   参数键“扩展名称”   插件中的'Xcode.InterfaceBuilderKit.PepperIntegration.Singletons'   'com.apple.dt.IDE.IDEInterfaceBuilderWatchKitIntegration'UserInfo:{       NSUnderlyingError =“Error Domain = DVTPlugInErrorDomain Code = 2 \”加载插件失败。\“   的UserInfo = {DVTPlugInIdentifierErrorKey = com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration,   DVTPlugInExecutablePathErrorKey = /应用/ Xcode-beta.app /内容/插件/ IDEInterfaceBuilderCocoaTouchIntegration.framework / IDEInterfaceBuilderCocoaTouchIntegration,   NSLocalizedRecoverySuggestion =插件或其先决条件之一   插件可能丢失或损坏,可能需要重新安装。   DVTPlugInDYLDErrorMessageErrorKey = dlopen的(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,   0):未加载库:   /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n   参考自:   /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n   原因:找不到图像,NSLocalizedDescription =加载插件   失败了。,   NSFilePath = /应用/ Xcode-beta.app /内容/插件/ IDEInterfaceBuilderCocoaTouchIntegration.framework,   NSLocalizedFailureReason =插件   \ U201ccom.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration \ U201D   在路上   \ U201c /应用/ Xcode-beta.app /内容/插件/ IDEInterfaceBuilderCocoaTouchIntegration.framework \ U201D   无法加载。插件或其必备插件之一   可能丢失或损坏。,NSUnderlyingError = 0x7fc8df3cb340 {错误   Domain = NSCocoaErrorDomain Code = 3587   \“dlopen_preflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):   库未加载:   /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n   参考自:   /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n   原因:未找到图像\“UserInfo = {NSLocalizedFailureReason = The   捆绑已损坏或缺少必要的资源。,   NSLocalizedRecoverySuggestion =尝试重新安装捆绑包。,   NSFilePath = /应用/ Xcode-beta.app /内容/插件/ IDEInterfaceBuilderCocoaTouchIntegration.framework / IDEInterfaceBuilderCocoaTouchIntegration,   NSDebugDescription = dlopen_preflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):   库未加载:   /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n   参考自:   /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n   原因:图片未找到,   NSBundlePath = /应用/ Xcode-beta.app /内容/插件/ IDEInterfaceBuilderCocoaTouchIntegration.framework,   NSLocalizedDescription =捆绑   \ U201cIDEInterfaceBuilderCocoaTouchIntegration \ U201d无法成为\ u2019t   已加载,因为它已损坏或缺少必要的资源。}}}“;}

1 个答案:

答案 0 :(得分:69)

我有同样的问题。我重新安装了XcodeSystemResources.pkg包。你会在这里找到它:

/Applications/Xcode.app/Contents/Resources/Packages/XcodeSys‌​temResources.pkg

安装程序将使用其内容重新创建/Library/Developer/PrivateFrameworks文件夹。之后,Xcode 9开始为我工作。