1

I have several projects which i can open and run in xcode without any problem (indexing don't takes much time). When I create a new universal swift core data integrated project it shows indexing for ever, I don't know why this happens.? Restarted Mac, deleted xcode and installed new one. Still the same problem.

Also I created a new project in another xcode which is in another computer and opened it in this xocde (which has indexing problem), here this project also shows indexing for ever. I am using xcode 6.1 (Not beta) in MacMini

1 Answer 1

0

Try

rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"

I found this a universal medicine to cure several XCode hick-ups.

Eventually you can try to kill SourceKitService in the activity monitor: enter image description here

Select the process and click the x top left.

5
  • Same indexing problem even after trying this command. Sorry :( Jan 30, 2015 at 7:13
  • I had this with the declaration of a dictionary which made it loop. Wait a minute...
    – qwerty_so
    Jan 30, 2015 at 7:23
  • But in this situation, i dont have anything. its a new project. Jan 30, 2015 at 7:25
  • I meant this one: stackoverflow.com/questions/27727391/… But if it's a new project then you should just kill SourceKitService.
    – qwerty_so
    Jan 30, 2015 at 7:26
  • How can i kill SourceKitService.? Jan 30, 2015 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.