XVim icon indicating copy to clipboard operation
XVim copied to clipboard

Xcode 8 hangs as soon as I click the code with the mouse

Open Goles opened this issue 8 years ago • 5 comments

Description

As soon as I click the source code, Xcode 8 beta 8S128d hangs.

Operation

Basically clicked the source code (visual or insertion mode seems to hang it)

Expected behaviour

Shouldn't hang

Environments

  • Xcode Version [8.0 beta ]
  • XVim branch and revision [ master ]
  • Keyboard Language [ Us-en ]
  • Input source language [ ]

Crash log (if any)

[Huge Log](https://gist.github.com/Goles/5662a87689636892a25295d08f1e0dd4)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35367629-xcode-8-hangs-as-soon-as-i-click-the-code-with-the-mouse?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

Goles avatar Jun 21 '16 18:06 Goles

+1 Have same bug, with GM

DarthMike avatar Sep 14 '16 09:09 DarthMike

I've had the same problem and it seems that I managed to solve it.

Right after I click on the editor, my Activity Monitor shows a tccd process taking around 50% of the CPU usage. So I investigate on this and it seems to be linked with the authorization to access the user's AddressBook. So I went to System Preferences->Security & Privacy->Contacts and uncheck Xcode.app. Then, I restart Xcode and it works like a charm !! \o/

FredericRuaudel avatar Sep 15 '16 09:09 FredericRuaudel

WAT. Going to check it in short. Thanks for sharing!

DarthMike avatar Sep 16 '16 17:09 DarthMike

I had this issue when I ran Xcode 8.0 before I installed XVim and then pressed escape a couple of times. "git diff" showed the lines with the escapes on it. XCode afterwards beachballed me once I moved over a line with the escape in it.

Fix was: git diff, remove the escapes. All fine since.

MavEtJu avatar Sep 16 '16 21:09 MavEtJu

@FredericRuaudel The workaround worked for me. You saved my productivity for the week! 💯

DarthMike avatar Sep 17 '16 21:09 DarthMike