Re: Any way to prevent Xcode SourceKitService crashing?
Re: Any way to prevent Xcode SourceKitService crashing?
- Subject: Re: Any way to prevent Xcode SourceKitService crashing?
- From: Kevin Meaney <email@hidden>
- Date: Sun, 16 Nov 2014 10:24:47 +0000
I got the following script from twitter: @Whakkee
https://gist.github.com/whakkee/5f6dae53352d0d4185ec
It didn't work for me, but I have my DerivedData folder set to relative to my project or workspace.
I played around with scrubbing various parts of the DerivedData folder and found that I didn't have to scrub the whole of my DerivedData folder just the ModuleCache directory inside it and the SourceKit crashes would stop for long enough to get decent work done before having to do the same again.
I now have a modified version of the script in each of my folders which has a xcode project that scrubs the local ModuleCache folder and the ~/Library/Caches/com.apple.dt.Xcode/
Hth
Kevin
On 16 Nov 2014, at 05:59, Rick Mann <email@hidden> wrote:
> I'm plagued by SourceKitService crashing all the time (multiple times per minute). The fixes only usually involve quitting Xcode and deleting the DerivedData folder. But that's not helping. As soon as I open my project and it begins indexing, it crashes again.
>
> Has anyone found a way to avoid the crash?
>
> --
> Rick Mann
> email@hidden
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden