XVim icon indicating copy to clipboard operation
XVim copied to clipboard

Xcode 8 Freezes on Launch

Open jmitchem opened this issue 9 years ago • 7 comments

Operation

Xcode 8 is running in "Applications/Xcode-beta".

Ran "make uninstall", then "xcode-select" to redirect it, then "make". Removed code signing per instructions.

Xcode launches into my last used file with XVim running in the editor, but Xcode does not respond and needs to be force quit.

I have retried with clean copies of the Xcode binary and restarts, but have had no luck.

Expected behaviour

[Write here]

Environments

  • Xcode Version [ Version 8.0 beta (8S128d) ]
  • XVim branch and revision [ master, commit 3eb09a6 ]
  • Keyboard Language [ en-US ]
  • Input source language [ en-US ]

Crash log (if any)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

jmitchem avatar Jun 29 '16 18:06 jmitchem

@jmitchem I had an issue with freeze on project creation, then I saw that there is a tccd process spawned (and it hogs CPU).

Killing the tccd process worked for me. However I'm not sure what this process does, I've found only this info:

It has the dialogs that display "[app] would like to access your [contacts|calendar|reminders]."

tomaszwojcik avatar Aug 05 '16 05:08 tomaszwojcik

I found a better way for when Xcode/XVim has the spinning beachball when started first time: Just let it run until tccd has finish. Use top(1) and sort-order (press O) -cpu to monitor.

When the first time you run Xcode, it verifies the checksum. So when you strip and resign, it needs to verify the checksum. However this time it does do it without a progressbar, which is very annoying.

MavEtJu avatar Sep 17 '16 00:09 MavEtJu

@MavEtJu thanks for the information, trying it out now. Any idea on how long this might take? I guess it depends on the machine that you are using. This thing really needs a progress bar.

zenangst avatar Nov 30 '16 09:11 zenangst

Side note: if you don't prefer top, the process also appears in Activity Monitor.

zenangst avatar Nov 30 '16 09:11 zenangst

@zenangst I must say that with the latest Xcode 8.1 and the instructions from XVim on how to build it on that platofmr (with resigning etc), I didn't have that delay and it all was smoothly.

MavEtJu avatar Nov 30 '16 09:11 MavEtJu

Oh nice! that's good to hear. I just setup a new MacBook Pro which caused these things to happened but just waiting for tccd to finish seemed to help. Thanks a lot for posting, you saved me a lot of more googling, hair ripping, swearing and raging. My co-workers thank you 😁

zenangst avatar Nov 30 '16 09:11 zenangst

@MavEtJu I summed up this and another fix in a Medium article that you can find here - https://medium.com/@zenangst/is-unsigned-xcode-giving-you-a-hard-time-cdc30d2c54b3#.4q0b4lf15

zenangst avatar Dec 04 '16 17:12 zenangst