title: Xcode 9 Beta 2 fails - DVTPlugInErrorDomain plugin load fails
body: <p>After downloading from Apple's site and installing Xcode 9 beta 2, it fails to launch on Sierra OS X version 10.12.5 with a following bug report:</p>
  
  <blockquote>
    <p>Process:               Xcode [4789] Path:<br>
    /Applications/Xcode-beta.app/Contents/MacOS/Xcode Identifier:<br>
    com.apple.dt.Xcode Version:               9.0 (13158.29) Build Info:<br>
    IDEFrameworks-13158029000000000~6 Code Type:             X86-64
    (Native) Parent Process:        ??? [1] Responsible:           Xcode
    [4789] User ID:               501</p>
    
    <p>Date/Time:             2017-07-10 09:27:38.822 +0300 OS Version:<br>
    Mac OS X 10.12.5 (16F73) Report Version:        12 Anonymous UUID:<br>
    D8406E47-CD80-D96B-2976-599E84980DE2</p>
    
    <p>Sleep/Wake UUID:       A8F0AF0B-2FF1-45A9-89AD-505F25730705</p>
    
    <p>Time Awake Since Boot: 20000 seconds Time Since Wake:       3800
    seconds</p>
    
    <p>System Integrity Protection: enabled</p>
    
    <p>Crashed Thread:        0  Dispatch queue: com.apple.main-thread</p>
    
    <p>Exception Type:        EXC_CRASH (SIGABRT) Exception Codes:<br>
    0x0000000000000000, 0x0000000000000000 Exception Note:<br>
    EXC_CORPSE_NOTIFY</p>
    
    <p>Application Specific Information: ProductBuildVersion: 9M137d UNCAUGHT
    EXCEPTION (NSInternalInconsistencyException): Error getting value for
    parameter key 'name' of extension
    'Xcode.InterfaceBuilderKit.PepperIntegration.Singletons' in plug-in
    'com.apple.dt.IDE.IDEInterfaceBuilderWatchKitIntegration' UserInfo: {
        NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\"
    UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration,
    DVTPlugInExecutablePathErrorKey=/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
    NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite
    plug-ins may be missing or damaged and may need to be reinstalled.,
    DVTPlugInDYLDErrorMessageErrorKey=dlopen(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
    0): Library not loaded:
    /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n
    Referenced from:
    /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n
    Reason: image not found, NSLocalizedDescription=Loading a plug-in
    failed.,
    NSFilePath=/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework,
    NSLocalizedFailureReason=The plug-in
    \U201ccom.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration\U201d
    at path
    \U201c/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework\U201d
    could not be loaded.  The plug-in or one of its prerequisite plug-ins
    may be missing or damaged., NSUnderlyingError=0x7fc8df3cb340 {Error
    Domain=NSCocoaErrorDomain Code=3587
    \"dlopen_preflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):
    Library not loaded:
    /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n
    Referenced from:
    /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n
    Reason: image not found\" UserInfo={NSLocalizedFailureReason=The
    bundle is damaged or missing necessary resources.,
    NSLocalizedRecoverySuggestion=Try reinstalling the bundle.,
    NSFilePath=/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration,
    NSDebugDescription=dlopen_preflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration):
    Library not loaded:
    /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator\n
    Referenced from:
    /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit\n
    Reason: image not found,
    NSBundlePath=/Applications/Xcode-beta.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework,
    NSLocalizedDescription=The bundle
    \U201cIDEInterfaceBuilderCocoaTouchIntegration\U201d couldn\U2019t be
    loaded because it is damaged or missing necessary resources.}}}"; }</p>
  </blockquote>