I have a big problem with Xcode 8, can not get it to start ^ _ ^, I always get the following error:
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 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: 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.
currently in my car I installed 2.7.11 Python and Python 3.5, but the default version is the 2.7.11.
The path in which the two Python are installed is:
/System/Library/Frameworks/Python.framework/Versions
I also have the problem, and I copy an official version of Python 2.7 to
/System/Library/Frameworks/Python.framework/Versions/2.7/
, the problem is gone.If facing the
Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
Try the solution given at this link
https://discussions.apple.com/thread/3863980?start=0&tstart=0
Just double click
Xcode 4.3.1 dmg
file ...Then window will show Xcode app.
Right Cick App
Show Package contents
Then go to
/Contents/Resources/Packages/
Install That MobileDevice.pkg ...
After installation
Double click on Xcode app ...
Just See Xcode is ready ...
Try to delete(copy them on other folder for backup) everything in this folder:
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
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.
I have to try to reinsert the 2.7.10 version and see if this works for me.
P.S .: I do not understand why the -1 to this question