Posts

Post not yet marked as solved
2 Replies
3.4k Views
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?
Posted
by AndyJohns.
Last updated
.