2016-06-15 3 views
1

У меня есть большая проблема с Xcode 8, не может получить его, чтобы начать^_ ^, я всегда получаю следующее сообщение об ошибке:Xcode 8 не запускается: Загрузка плагина не удалось

Loading a plug-in failed.

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

I смотрю на бревнах, я мог видеть, что проблема Python, так что я пытался обновить Python, переустановить, но ничего очень плохого T_T

[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.

Путь, в котором установлены два Питон:

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

Вы пробовали просто перезагрузить Xcode 8? – user2277872

+1

Да, но не работает – WhiteTiger

+0

Возможный дубликат [Xcode 6.1: Загрузка плагина не удалась] (http://stackoverflow.com/questions/28064802/xcode-6-1-loading-a-plug-in-failed) – f3n1Xx

ответ

2

только для записи, Apple говорит, что проблема связана с тем, что я обновленный Python (хотя я скачал с официального сайта питона. org) и указывает, что 8 из Xcode больше контролируют проблему XcodeGhost.

Я должен попытаться вставить версию 2.7.10 и посмотреть, работает ли это для меня.

P.S:. Я не понимаю, почему -1 на этот вопрос

+0

Вы изменили системную версию 'python'? – Droppy

+0

yes T_T, версия/usr/bin/python - 2.7.11 – WhiteTiger

+2

Никогда не делайте этого. Вы можете добавить альтернативы в '/ usr/local' и'/opt/local'. – Droppy

0

У меня также есть проблемы, и я скопировать официальную версию Python 2.7 для /System/Library/Frameworks/Python.framework/Versions/2.7/, проблема исчезла.

+0

спасибо за ответ, но я уже решил, установив совместимую с Apple версию Python – WhiteTiger

+0

, какая версия ? У меня есть python 2.7.13, у меня такая же проблема. xCode дает ошибку. – f3n1Xx

0

Попытка удалить (скопировать их на другую папку для резервного копирования) все в этой папке:

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/

+1

спасибо за ответ, но я уже решил, установив совместимую с Apple версию Python – WhiteTiger

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

Show Package

Затем перейдите к /Contents/Resources/Packages/

Установить That MobileDevice.pkg ...

После установки

Двойной щелчок на Xcode приложение. ..

Just See Xcode готов ...