• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Any way to prevent Xcode SourceKitService crashing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Any way to prevent Xcode SourceKitService crashing? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Any way to prevent Xcode SourceKitService crashing?
  • Next by Date: Re: Any way to prevent Xcode SourceKitService crashing?
  • Previous by thread: Re: Any way to prevent Xcode SourceKitService crashing?
  • Next by thread: lldb expression shows wrong variable values
  • Index(es):
    • Date
    • Thread