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 protected]> 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 protected]
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/ktam%40yvs.eu.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to