johnno1962 / Refactorator

Xcode Plugin that Refactors Swift & Objective-C
MIT License
991 stars 35 forks source link

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

Open Visput opened 8 years ago

Visput commented 8 years ago

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
johnno1962 commented 8 years ago

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?

Visput commented 8 years ago

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
johnno1962 commented 8 years ago

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?

jstheoriginal commented 8 years ago

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