I have swift project in XCode 6. Something happened to my project that make my suggestion (autocomplete) doesn't work.
- It's problem with my current project. Other projects works good.
- I've tried to delete Derived Data.
- Reinstall XCode
- Deleted .workspace in project
- Tried "Header path".
I searching answer and nothing of it do not work.
One more: after delete of derived data when Xcode RE-indexing autocomplete is WORK. But when it finished autocomplete do not work again. It's something with workspace?
When troubleshooting this and reading other SO articles, I ended up setting the Defines Module
build setting to true. This stopped all autocompletion in my swift files.
The solution for me was to set the Defines Module
build setting to false
Hope this helps you!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With