O.r*_*rka 3 macos terminal xcode
每当我打开一个新终端时,都会出现此消息(当我在 OSX 计算机上安装 Mojave 时就会发生这种情况)。
\n\n我可以做什么来解决这个问题?
\n\nLast login: Wed Sep 25 13:28:13 on ttys006\n2019-09-25 13:37:37.543 xcodebuild[39765:4976662] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.DVTKitDFRSupport (/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit" UserInfo={NSLocalizedFailureReason=The bundle couldn\xe2\x80\x99t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedDescription=The bundle \xe2\x80\x9cDVTKitDFRSupport\xe2\x80\x9d couldn\xe2\x80\x99t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 0): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n2019-09-25 13:37:37.544 xcodebuild[39765:4976662] [MT] DVTPlugInExtensionFaulting: Failed to fire fault for extension Xcode.DVTKitDFRSupport.Initializer: Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.DVTKitDFRSupport, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 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.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 0): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedFailureReason=The plug-in \xe2\x80\x9ccom.apple.dt.IDE.DVTKitDFRSupport\xe2\x80\x9d at path \xe2\x80\x9c/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin\xe2\x80\x9d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7ff01a91f700 {Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit" UserInfo={NSLocalizedFailureReason=The bundle couldn\xe2\x80\x99t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedDescription=The bundle \xe2\x80\x9cDVTKitDFRSupport\xe2\x80\x9d couldn\xe2\x80\x99t be loaded.}}}\n** INTERNAL ERROR: Uncaught exception **\nUncaught Exception: Error getting value for key \'initializationClass\' of extension \'Xcode.DVTKitDFRSupport.Initializer\' in plug-in \'com.apple.dt.IDE.DVTKitDFRSupport\'\nStack:\n 0 __exceptionPreprocess (in CoreFoundation)\n 1 objc_exception_throw (in libobjc.A.dylib)\n 2 -[DVTExtension valueForKey:error:] (in DVTFoundation)\n 3 _IDEInitializeOnePlugInAndPrerequisites (in IDEFoundation)\n 4 _IDEInitializePlugIns (in IDEFoundation)\n 5 IDEInitialize (in IDEFoundation)\n 6 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)\n 7 0x000000010d0c5202 (in xcodebuild)\n 8 start (in libdyld.dylib)\n\n2019-09-25 13:37:38.004 xcodebuild[39767:4976683] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.DVTKitDFRSupport (/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit" UserInfo={NSLocalizedFailureReason=The bundle couldn\xe2\x80\x99t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedDescription=The bundle \xe2\x80\x9cDVTKitDFRSupport\xe2\x80\x9d couldn\xe2\x80\x99t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 0): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n2019-09-25 13:37:38.004 xcodebuild[39767:4976683] [MT] DVTPlugInExtensionFaulting: Failed to fire fault for extension Xcode.DVTKitDFRSupport.Initializer: Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.DVTKitDFRSupport, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 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.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 0): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedFailureReason=The plug-in \xe2\x80\x9ccom.apple.dt.IDE.DVTKitDFRSupport\xe2\x80\x9d at path \xe2\x80\x9c/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin\xe2\x80\x9d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7f8d715b7e00 {Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit" UserInfo={NSLocalizedFailureReason=The bundle couldn\xe2\x80\x99t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedDescription=The bundle \xe2\x80\x9cDVTKitDFRSupport\xe2\x80\x9d couldn\xe2\x80\x99t be loaded.}}}\n** INTERNAL ERROR: Uncaught exception **\nUncaught Exception: Error getting value for key \'initializationClass\' of extension \'Xcode.DVTKitDFRSupport.Initializer\' in plug-in \'com.apple.dt.IDE.DVTKitDFRSupport\'\nStack:\n 0 __exceptionPreprocess (in CoreFoundation)\n 1 objc_exception_throw (in libobjc.A.dylib)\n 2 -[DVTExtension valueForKey:error:] (in DVTFoundation)\n 3 _IDEInitializeOnePlugInAndPrerequisites (in IDEFoundation)\n 4 _IDEInitializePlugIns (in IDEFoundation)\n 5 IDEInitialize (in IDEFoundation)\n 6 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)\n 7 0x000000010d511202 (in xcodebuild)\n 8 start (in libdyld.dylib)\n\nxcrun: error: unable to lookup item \'Path\' in SDK \'macosx\'\n(\xc2\xb5_env) jespinozlt-osx:~ jespinoz$\nRun Code Online (Sandbox Code Playgroud)\n\n当我运行以下命令时也会发生这种情况:
\n\n(\xc2\xb5_env) jespinozlt-osx:~ jespinoz$ xcrun --show-sdk-path --sdk macosx\n2019-09-25 12:55:13.253 xcodebuild[38278:4955104] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.DVTKitDFRSupport (/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit" UserInfo={NSLocalizedFailureReason=The bundle couldn\xe2\x80\x99t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedDescription=The bundle \xe2\x80\x9cDVTKitDFRSupport\xe2\x80\x9d couldn\xe2\x80\x99t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 0): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n2019-09-25 12:55:13.253 xcodebuild[38278:4955104] [MT] DVTPlugInExtensionFaulting: Failed to fire fault for extension Xcode.DVTKitDFRSupport.Initializer: Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.DVTKitDFRSupport, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 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.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 0): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedFailureReason=The plug-in \xe2\x80\x9ccom.apple.dt.IDE.DVTKitDFRSupport\xe2\x80\x9d at path \xe2\x80\x9c/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin\xe2\x80\x9d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7fe3f4f48820 {Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit" UserInfo={NSLocalizedFailureReason=The bundle couldn\xe2\x80\x99t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedDescription=The bundle \xe2\x80\x9cDVTKitDFRSupport\xe2\x80\x9d couldn\xe2\x80\x99t be loaded.}}}\n** INTERNAL ERROR: Uncaught exception **\nUncaught Exception: Error getting value for key \'initializationClass\' of extension \'Xcode.DVTKitDFRSupport.Initializer\' in plug-in \'com.apple.dt.IDE.DVTKitDFRSupport\'\nStack:\n 0 __exceptionPreprocess (in CoreFoundation)\n 1 objc_exception_throw (in libobjc.A.dylib)\n 2 -[DVTExtension valueForKey:error:] (in DVTFoundation)\n 3 _IDEInitializeOnePlugInAndPrerequisites (in IDEFoundation)\n 4 _IDEInitializePlugIns (in IDEFoundation)\n 5 IDEInitialize (in IDEFoundation)\n 6 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)\n 7 0x0000000103212202 (in xcodebuild)\n 8 start (in libdyld.dylib)\n\n2019-09-25 12:55:13.712 xcodebuild[38279:4955120] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.DVTKitDFRSupport (/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit" UserInfo={NSLocalizedFailureReason=The bundle couldn\xe2\x80\x99t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin/Contents/MacOS/DVTKitDFRSupport, 265): Symbol not found: _OBJC_IVAR_$_NSTextViewIvars.sharedData\n Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit\n Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n in /Applications/Xcode.app/Contents/Developer/usr/bin/../../../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/DVTKitDFRSupport.ideplugin, NSLocalizedDescription=The bundle \xe2\x80\x9cDVTKitDFRSupport\xe2\x80\x9d couldn\xe2\x80\x99t be loaded.}, dyldError = dlopen(/
这个命令也可能对你有帮助
sudo xcode-select --switch /Applications/Xcode.app
Run Code Online (Sandbox Code Playgroud)