Xcode 8 无法启动:加载插件失败 [英] Xcode 8 doesn't Start: Loading a plug-in failed

查看:26
本文介绍了Xcode 8 无法启动:加载插件失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Xcode 8有一个大问题,无法启动^ _ ^,我总是收到以下错误:

I have a big problem with Xcode 8, can not get it to start ^ _ ^, I always get the following error:

加载插件失败.

插件或其必备插件之一可能丢失或损坏,可能需要重新安装.

The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.

我正在查看日志,我可以看到问题出在 Python 上,所以我尝试更新 Python,重新安装,但没有什么大问题 T_T

I am looking at the logs I could see that the problem is Python, so I tried to update Python, reinstall but nothing very wrong T_T

[MT] DVTPlugInLoading:加载插件代码失败com.apple.dt.dbg.DebuggerLLDB(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin),错误=错误域=NSCocoaErrorDomain代码=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:mmap() 错误 1 ​​地址=0x11C480000,大小=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 段=__TEXTSegment::map() 映射/Library/Frameworks/Python.framework/Versions/2.7/Python/System/Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 错误 1 ​​地址=0x11C900000,大小=0x00171000 段=__TEXT在 Segment::map() 映射中/System/Library/Frameworks/Python.framework/Versions/2.7/Python"UserInfo={NSLocalizedFailureReason=捆绑包已损坏或丢失必要的资源., NSLocalizedRecoverySuggestion=尝试重新安装捆绑.,NSFilePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/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:mmap() 错误 1 ​​地址=0x11C480000,大小=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 段=__TEXTSegment::map() 映射/Library/Frameworks/Python.framework/Versions/2.7/Python/System/Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 错误 1 ​​地址=0x11C900000,大小=0x00171000 段=__TEXT在 Segment::map() 映射中/System/Library/Frameworks/Python.framework/Versions/2.7/Python,NSBundlePath=/Applications/Xcode8b.app/Contents/PlugIns/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:mmap() 错误 1 ​​地址=0x11CB40000,大小=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 段=__TEXTSegment::map() 映射/Library/Frameworks/Python.framework/Versions/2.7/Python/System/Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 错误 1 ​​地址=0x11CFC0000,大小=0x00171000 段=__TEXT在 Segment::map() 映射中/System/Library/Frameworks/Python.framework/Versions/2.7/Python2016-06-15 02:05:24.324 Xcode[64100:586329] [MT] DVTA 断言:警告/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=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/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:mmap() 错误 1 ​​地址=0x11CB40000,大小=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 段=__TEXTSegment::map() 映射/Library/Frameworks/Python.framework/Versions/2.7/Python/System/Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 错误 1 ​​地址=0x11CFC0000,大小=0x00171000 段=__TEXT在 Segment::map() 映射中/System/Library/Frameworks/Python.framework/Versions/2.7/Python,NSLocalizedDescription=加载插件失败.,NSFilePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin,NSLocalizedFailureReason=插件com.apple.dt.dbg.DebuggerLLDB"在路径/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin"无法加载.插件或其必备插件之一可能丢失或损坏., NSUnderlyingError=0x7f97fcc92500 {Error域=NSCocoaError 域代码=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:mmap() 错误 1 ​​地址=0x11C480000,大小=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 段=__TEXTSegment::map() 映射/Library/Frameworks/Python.framework/Versions/2.7/Python/System/Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 错误 1 ​​地址=0x11C900000,大小=0x00171000 段=__TEXT在 Segment::map() 映射中/System/Library/Frameworks/Python.framework/Versions/2.7/Python"UserInfo={NSLocalizedFailureReason=捆绑包已损坏或丢失必要的资源., NSLocalizedRecoverySuggestion=尝试重新安装捆绑.,NSFilePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/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:mmap() 错误 1 ​​地址=0x11C480000,大小=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 段=__TEXTSegment::map() 映射/Library/Frameworks/Python.framework/Versions/2.7/Python/System/Library/Frameworks/Python.framework/Versions/2.7/Python:mmap() 错误 1 ​​地址=0x11C900000,大小=0x00171000 段=__TEXT在 Segment::map() 映射中/System/Library/Frameworks/Python.framework/Versions/2.7/Python,NSBundlePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin,NSLocalizedDescription=无法加载包DebuggerLLDB"因为它已损坏或缺少必要的资源.}}} 功能:BOOL _IDEInitializePlugInManager(IDEInitializationOptions, NSError*__autoreleasing *) 主题:{number = 1, name = main} 请在 http://bugreport.apple 提交错误.com 与此警告消息以及您可以提供的任何有用信息.

[MT] DVTPlugInLoading: Failed to load code for plug-in 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): Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB Reason: no suitable image found. Did find: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C480000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C6C0000, size=0x00171000 segment=__TEXT in Segment::map() mapping /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C900000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, NSDebugDescription=dlopen_preflight(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB): Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB Reason: no suitable image found. Did find: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C480000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C6C0000, size=0x00171000 segment=__TEXT in Segment::map() mapping /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C900000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python, NSBundlePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin, NSLocalizedDescription=The bundle "DebuggerLLDB" couldn’t be loaded because it is damaged or missing necessary resources.}, dyldError = dlopen(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, 0): Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB Reason: no suitable image found. Did find: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11CB40000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11CD80000, size=0x00171000 segment=__TEXT in Segment::map() mapping /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11CFC0000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python 2016-06-15 02:05:24.324 Xcode[64100:586329] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11160.22/IDEFoundation/Initialization/IDEInitialization.m:262 Details: Xcode failed its initial plug-in scan, error = Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB, DVTPlugInExecutablePathErrorKey=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, 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/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, 0): Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB Reason: no suitable image found. Did find: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11CB40000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11CD80000, size=0x00171000 segment=__TEXT in Segment::map() mapping /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11CFC0000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python, NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin, NSLocalizedFailureReason=The plug-in "com.apple.dt.dbg.DebuggerLLDB" at path "/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin" could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7f97fcc92500 {Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB): Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB Reason: no suitable image found. Did find: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C480000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C6C0000, size=0x00171000 segment=__TEXT in Segment::map() mapping /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C900000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, NSDebugDescription=dlopen_preflight(/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB): Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/Xcode8b.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB Reason: no suitable image found. Did find: /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C480000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python /Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C6C0000, size=0x00171000 segment=__TEXT in Segment::map() mapping /Library/Frameworks/Python.framework/Versions/2.7/Python /System/Library/Frameworks/Python.framework/Versions/2.7/Python: mmap() error 1 at address=0x11C900000, size=0x00171000 segment=__TEXT in Segment::map() mapping /System/Library/Frameworks/Python.framework/Versions/2.7/Python, NSBundlePath=/Applications/Xcode8b.app/Contents/PlugIns/DebuggerLLDB.ideplugin, NSLocalizedDescription=The bundle "DebuggerLLDB" couldn’t be loaded because it is damaged or missing necessary resources.}}} Function: BOOL _IDEInitializePlugInManager(IDEInitializationOptions, NSError *__autoreleasing *) Thread: {number = 1, name = main} Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.

目前在我的车里我安装了 2.7.11 Python 和 Python 3.5,但默认版本是 2.7.11.

currently in my car I installed 2.7.11 Python and Python 3.5, but the default version is the 2.7.11.

两个python安装的路径是:

The path in which the two Python are installed is:

/System/Library/Frameworks/Python.framework/Versions

推荐答案

只是为了记录,Apple 说问题与我更新 Python 的事实有关(虽然我是从官方网站 python.org 下载的)并表示Xcode 8 更能控制XcodeGhost 问题.

just for the record, Apple says the problem is related to the fact that I updated Python (although I downloaded from the official website python.org) and indicates that 8 of Xcode is more control for the XcodeGhost problem.

我必须尝试重新插入 2.7.10 版本,看看这是否适合我.

I have to try to reinsert the 2.7.10 version and see if this works for me.

这篇关于Xcode 8 无法启动:加载插件失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆