Post

Replies

Boosts

Views

Activity

Autocomplete not working in unit test code
Swift, I can't get autocomplete to work for my project code in my unit test target. I'm using the @testable import, and autocomplete works fine for any iOS objects, but for my objects, the ones I actually want to test, it doesn't work at all. Additionally, if I create a variable of one of my types, it shows as "<<error type>>" in autocomplete. Happens in multple projects, happened in XCode 7.1 and also 7.2.I've tried clearing derived data, the com.apple.dt.Xcode cache file, the project's xcuserdata/*.xcuserdatad file. Nothing helps.Projects build and run just fine. All unit tests run and pass just fine. But lack of autocomplete is driving me crazy.Any suggestions?
2
0
3.6k
Jan ’16