-
Notifications
You must be signed in to change notification settings - Fork 678
Description
After installing the software, open the Xcode8, enter any letter then Xcode8 crash
Process: Xcode [875]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 8.0 (11246)
Build Info: IDEFrameworks-11246000000000000~3
App Item ID: 497799835
App External ID: 818744938
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [875]
User ID: 501
Date/Time: 2016-09-27 10:21:09.545 +0800
OS Version: Mac OS X 10.12 (16A323)
Report Version: 12
Anonymous UUID: F636BCDC-EEBA-7135-7E28-F874D73FEDD8
Time Awake Since Boot: 460 seconds
System Integrity Protection: disabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 8A218a
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'strategyClass' of extension 'KSImageNamed.CompletionStrategy.ImageNamed' in plug-in 'com.ksuther.KSImageNamed'
UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.ksuther.KSImageNamed, DVTPlugInExecutablePathErrorKey=/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., DVTPlugInDYLDErrorMessageErrorKey=dlopen(/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed, 0): no suitable image found. Did find:\n\t/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed: code signing blocked mmap() of '/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed', NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.ksuther.KSImageNamed\U201d at path \U201c/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7fab3efe6450 {Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed): no suitable image found. Did find:\n\t/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed: code signing blocked mmap() of '/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed'" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed, NSDebugDescription=dlopen_preflight(/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed): no suitable image found. Did find:\n\t/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed: code signing blocked mmap() of '/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin/Contents/MacOS/KSImageNamed', NSBundlePath=/Users/proflli/Library/Developer/Xcode/Plug-ins/KSImageNamed.ideplugin, NSLocalizedDescription=The bundle \U201cKSImageNamed\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.}}}";
}
Activity
ksuther commentedon Sep 27, 2016
Based on that error is seems like Xcode is having trouble loading the bundle.
yuanlingqi commentedon Sep 27, 2016
I also encountered this problem,any help?
proflli commentedon Sep 28, 2016
How to solve this bug?
ksuther commentedon Sep 28, 2016
I'm going to need some help reproducing this, otherwise it's not going to get fixed.
jinke5245 commentedon Sep 28, 2016
I also got this bug at Xcode 8, and got crash when i was coding.
I remove this plugin at
~/Library/Developer/Xcode/Plug-ins/
.HugSea commentedon Sep 28, 2016
I also crash, but I can't find KSImageNamed plugin at ~/Library/Developer/Xcode/Plug-ins/
jinke5245 commentedon Sep 29, 2016
@HugSea
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
.Try to find at this file path.
proflli commentedon Sep 29, 2016
I have removed this plugins, and wait for the update.
lzzhoujielun commentedon Oct 19, 2016
I crash too, I will reinstall the xcode . In xcode8 where set photo tip?
ivanyang1984 commentedon Oct 21, 2016
@jinke5245 your solution works!
xmzqhl commentedon Oct 27, 2016
I meet the same error,Can anyone help?
proflli commentedon Oct 27, 2016
remove it! @wybflb
xmzqhl commentedon Oct 27, 2016
@proflli 使用OC语言,在Xcode8上,有其他库可以替换么?
lyb5834 commentedon Oct 31, 2016
I carsh too,I have removed this plugins, and wait for the update.Can anyone tell me when it updated?
gblazex commentedon Nov 4, 2016
crashed for me too in Xcode 8.1
After doing what the README says it now doesn't crash but doesn't work either (no imageNamed suggestions)
ame017 commentedon Nov 14, 2016
Look,i have the way to use on xcode8.0+ (8.1 8.2also worked)
1.clean your xcode
make sure your xcode is pure
2.delete all plug-ins(not necessary step)
location of plug-ins is:
just delete all files in above two locations of your mac
you can also delete the folder of these locations(recommend)
(delete all plug-ins is the way to make sure Xcode do not crash.Not necessary step)
3.resign your Xcode(important step)
use this way to resign your Xcode
https://github.com/XVimProject/XVim/blob/master/INSTALL_Xcode8.md
(thanks to the author of XVim)
4.download the KSImageNamed zip file
download the KSImageNamed zip file and open it's project in xcode
5.add uuid(important step)
if your Xcode version is supported(to know the support version,please look at the author's introduction) ,just run the project of KSImageNamed.
if your Xcode version is not supported(Newer than the highest supported version)
you must add your xcode's uuid to the KSImage's project so that the KSImageNamed can work
the way to add uuid is:
find a plist file in KSImageNamed's project which is named 'KSImageNamed-Info.plist'
add your xcode's uuid to array 'DVTPlugInCompatibilityUUIDs' and then run the project
How to get uuid?
use the under code in terminal
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
6.restart your xcode
close your xcode and restart.
it will show a alert
just choose loadbundle on the left.
7.it will work
enjoy : )
RondaHo commentedon Nov 14, 2016
@amestudio thanks ,it works for me ! for xcode 8.1
the important step is add your xcode's uuid to the KSImage's project, then build it.
after build , this path
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
may not show KSImageNamed plugin ,but do not worry, just restart xcode ,it will show loadbundle alert.BTW, don't have to delete all plug-ins
strawnut commentedon Dec 20, 2016
If you has encountered xcode crash after update xcode(although that's minor version:8.2 -> 8.2.1), the mention of @amestudio will be helped.
casperSNSN commentedon Jan 4, 2017
I met the same problem,@jinke5245 your solution works!
xiky commentedon Feb 22, 2017
it's a nice plug-ins for iOS develoer, so hope you can continus to develop
ksuther commentedon Mar 29, 2017
Closing because this crash occurs when Xcode hasn't been unsigned or re-signed.