PersuitOfPerfection
PersuitOfPerfection

Reputation: 1029

Xcode autocomplete stopped working

I am using Xcode 6.1 with a Swift project.

I get the "SourceKit" (iirc) editor crashing issue several times a day but it usually resolves itself and doesn't result in having to close Xcode.

Now the last time it happened it resolved itself but has now taken away all autocompletion calls. Nothing autocompletes, my class functions, UI*, nothing (aside from basic types UInt etc).

I have cleared derived data, removed Xcode and it's related files, re-installed and nothing completes automatically, nor by using the escape key to show suggestions. Autocomplete is definitely checked in preferences as I have been using it for almost a month prior to todays issue.

Has anyone else experienced this? and does anyone have a solution to this problem? Really, really need autocomplete back.

Thanks

Upvotes: 12

Views: 7514

Answers (3)

PersuitOfPerfection
PersuitOfPerfection

Reputation: 1029

Xcode 6.3 public release version (released publicly at time of writing) seems to have fixed these issues (at long last).

Upvotes: 0

turkenh
turkenh

Reputation: 2584

It is definitely a bug. In fact changing to a different simulator (i.e. iPhone 5 to iPhone 5s) and running once does also solve the issue. You do not have to run on actual device (for those who do not have a paid developer license)

Upvotes: 3

Glynbeard
Glynbeard

Reputation: 1389

Yes this is a bug that I have been experiencing for the last few days in 6.1 The solution for us was to stop building on the simulator. Once we did that (and started testing on actual devices) the sourceViewKit started working again. I'm not exactly sure why this is the case, but it seemed to work for us when nothing else did.

Upvotes: 8

Related Questions