Closed username0x0a closed 8 years ago
try this sudo xcodebuild -license
Same issue for me. Accepting the Xcode license did not resolve my issue.
Having the same issue too. Accepting the licence has no effect. I am on El Capitan, tried with xcode 7.0.1 and 7.1beta also.
Same here, accepting the license is not the issue, it's something else causing it. El Capitan, 7.0.1.
I commented out all code and it seems the culprit is this "hookDVTTextStorage()". If you comment this out, xcode won't crash. So this is clearly a bug that needs to be fixed in MCLog.
Okay in order to fix the crash, simply comment out this line and build in release mode (thus installing the plugin automatically). Relaunch xcode and you're done:
OriginalFixAttributesInRangeIMP(self, _cmd, range);
@guidedways fixed the issue for me too, thank you.
For anyone else stopping by, @guidedways suggestion worked for me as well.
fixed the issue for me too
There is another problem, though - I cannot view any files (neither ObjC nor Swift) outside my Swift project. When I try to, all I see is empty editor (for ObjC) or "could not regenerate..." for Swift. Does anyone have any thoughts on that?
This also breaks some text fields, f.e. source editor in Run Script Build Phase etc.
See references below.
@guidedways solution works in El Capitain 10.11.1 (15B42) and Xcode 7.1 (7B91b)! Thanks! =) BTW for new versions of Xcode I use xcplugin_update.sh tks to @alexlee002
it works. you save my day. tks @guidedways @alexlee002
Xcode7.0.1/OSX 10.11.1 no longer crash. The latest version.
Btw, how you guys refer issues together like below? except for metioned in comment.
@yuhua-chen : I was tried to all way :(
@datnm Try the latest version. :)
Xcode crashes when trying to open Source Editor with any source file (.m/.h).
MCLog installed as the only plugin. Compiled from today's master branch.