New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xcode 7.0.1 crashes when opening source file #32
Comments
try this |
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. |
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. |
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)! |
it works. you save my day. tks @guidedways @alexlee002 |
Xcode7.0.1/OSX 10.11.1 no longer crash. The latest version. |
@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.
The text was updated successfully, but these errors were encountered: