Refactorator icon indicating copy to clipboard operation
Refactorator copied to clipboard

"Connection interrupted" and "restoring service" are displayed when trying to rename class

Open Visput opened this issue 9 years ago • 4 comments

I tried to rename class. As result I got such screen (see screenshot). When I click preview system error is displayed:

Exception communicating with daemon: NSDistantObject (0x7fd9d9825dc0) is invalid (no connection)

Plugin was installed by Alcatraz Package Manager. screen shot 2016-01-08 at 1 55 52 pm

Visput avatar Jan 08 '16 19:01 Visput

Looks like a SourceKit crash. What are the chances of sending the source for UICollectionViewController+Deselect.swift to injectionforxcode @ johnholdsworth.com though it could be any of your sources causing the crash TBH. The remainder of the errors seem to be "snowballing”. Xcode 7.2 right?

johnno1962 avatar Jan 08 '16 23:01 johnno1962

Just sent you email with source file UICollectionViewController+Deselect.swift Here is screenshot of the bottom part of screen:

screen shot 2016-01-08 at 5 53 51 pm

Visput avatar Jan 08 '16 23:01 Visput

I’ve rewritten the plugin to not use SourceKit so this may be resolved. Do you want to give it a try with the new version?

johnno1962 avatar Jan 29 '16 15:01 johnno1962

I just got this error and now it says this:

Exception communicating with daemon: connection went invalid while waiting for a reply because a mach port died

jstheoriginal avatar Jun 13 '16 14:06 jstheoriginal