我的Xcode 8有一个大问题,无法启动它^ _ ^,我总是得到以下错误:
加载插件失败。
可能缺少插件或其中一个必备插件 损坏,可能需要重新安装。
我正在查看日志我可以看到问题是Python,所以我尝试更新Python,重新安装但没有什么不对的T_T
[MT] DVTPlugInLoading:无法加载插件代码 com.apple.dt.dbg.DebuggerLLDB (/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin), error = Error Domain = NSCocoaErrorDomain Code = 3587 " dlopen_preflight(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB): 库未加载: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
参考自: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB 原因:找不到合适的图像。找到了: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11C480000时mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 地址错误1 = 0x11C6C0000,大小= 0x00171000段= __ TEXT in Segment :: map()映射 /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11C900000处的mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python" UserInfo = {NSLocalizedFailureReason =捆绑包已损坏或丢失 必要的资源。,NSLocalizedRecoverySuggestion =尝试重新安装 捆绑。, NSFilePath = /应用/ Xcode8b.app /内容/插件/ DebuggerLLDB.ideplugin /内容/ MacOS的/ DebuggerLLDB, NSDebugDescription = dlopen_preflight(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB): 库未加载: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
参考自: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB 原因:找不到合适的图像。找到了: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11C480000时mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 地址错误1 = 0x11C6C0000,大小= 0x00171000段= __ TEXT in Segment :: map()映射 /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11C900000处的mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python, NSBundlePath = /应用/ Xcode8b.app /内容/插件/ DebuggerLLDB.ideplugin, NSLocalizedDescription =无法加载捆绑包“DebuggerLLDB” 因为它已损坏或缺少必要的资源。},dyldError = dlopen的(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, 0):未加载库: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
参考自: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB 原因:找不到合适的图像。找到了: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11CB40000时mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 地址错误1 = 0x11CD80000,大小= 0x00171000段= __ TEXT in Segment :: map()映射 /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11CFC0000时mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python 2016-06-15 02:05:24.324 Xcode [64100:586329] [MT] DVTAssertions: 警告 /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11160.22/IDEFoundation/Initialization/IDEInitialization.m:262 详细信息:Xcode初始插件扫描失败,错误=错误 Domain = DVTPlugInErrorDomain Code = 2"加载插件失败。" 的UserInfo = {DVTPlugInIdentifierErrorKey = com.apple.dt.dbg.DebuggerLLDB, DVTPlugInExecutablePathErrorKey = /应用/ Xcode8b.app /内容/插件/ DebuggerLLDB.ideplugin /内容/ MacOS的/ DebuggerLLDB, NSLocalizedRecoverySuggestion =插件或其先决条件之一 插件可能丢失或损坏,可能需要重新安装。 DVTPlugInDYLDErrorMessageErrorKey = dlopen的(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, 0):未加载库: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
参考自: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB 原因:找不到合适的图像。找到了: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11CB40000时mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 地址错误1 = 0x11CD80000,大小= 0x00171000段= __ TEXT in Segment :: map()映射 /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11CFC0000时mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python, NSLocalizedDescription =加载插件失败。, NSFilePath = /应用/ Xcode8b.app /内容/插件/ DebuggerLLDB.ideplugin, NSLocalizedFailureReason =插件“com.apple.dt.dbg.DebuggerLLDB” 在路上 “/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin” 无法加载。插件或其必备插件之一 可能丢失或损坏。,NSUnderlyingError = 0x7f97fcc92500 {错误 Domain = NSCocoaErrorDomain Code = 3587 " dlopen_preflight(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB): 库未加载: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
参考自: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB 原因:找不到合适的图像。找到了: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11C480000时mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 地址错误1 = 0x11C6C0000,大小= 0x00171000段= __ TEXT in Segment :: map()映射 /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11C900000处的mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python" UserInfo = {NSLocalizedFailureReason =捆绑包已损坏或丢失 必要的资源。,NSLocalizedRecoverySuggestion =尝试重新安装 捆绑。, NSFilePath = /应用/ Xcode8b.app /内容/插件/ DebuggerLLDB.ideplugin /内容/ MacOS的/ DebuggerLLDB, NSDebugDescription = dlopen_preflight(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB): 库未加载: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
参考自: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB 原因:找不到合适的图像。找到了: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11C480000时mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 地址错误1 = 0x11C6C0000,大小= 0x00171000段= __ TEXT in Segment :: map()映射 /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: 地址= 0x11C900000处的mmap()错误1,大小= 0x00171000段= __ TEXT 在Segment :: map()映射中 /System/Library/Frameworks/Python.framework/Versions/2.7/Python, NSBundlePath = /应用/ Xcode8b.app /内容/插件/ DebuggerLLDB.ideplugin, NSLocalizedDescription =无法加载捆绑包“DebuggerLLDB” 因为它已损坏或缺少必要的资源。}}}功能: BOOL _IDEInitializePlugInManager(IDEInitializationOptions,NSError * __ autoreleasing *)主题:{number = 1,name = main}请在http://bugreport.apple.com处提交一个错误 警告信息和您可以提供的任何有用信息。
目前在我的车里我安装了2.7.11 Python和Python 3.5,但默认版本是2.7.11。
安装两个Python的路径是:
/System/Library/Frameworks/Python.framework/Versions
答案 0 :(得分:2)
我必须尝试重新插入2.7.10版本,看看这对我有用。
P.S .:我不明白为什么-1这个问题
答案 1 :(得分:1)
如果面对
Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
尝试此链接中提供的解决方案
https://discussions.apple.com/thread/3863980?start=0&tstart=0
只需双击Xcode 4.3.1 dmg
文件...
然后窗口将显示Xcode应用程序。
Right Cick App
显示包裹内容
然后转到/Contents/Resources/Packages/
安装那个MobileDevice.pkg ......
安装后
双击Xcode app ...
看到Xcode准备就绪......
答案 2 :(得分:0)
我也有问题,我将Python 2.7的官方版本复制到/System/Library/Frameworks/Python.framework/Versions/2.7/
,问题就消失了。
答案 3 :(得分:0)
尝试删除(将其复制到其他文件夹以备份)此文件夹中的所有内容:
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/