Xcode 7.3 autocomplete issues

六月ゝ 毕业季﹏ 提交于 2019-12-01 04:18:36

I had this problem myself and after looking through all the other similar questions & answers about this, I couldn't find a solution. However, I finally found what worked for me.

Go to Xcode -> Preferences -> Components. There you will probably find a screen that looks like the following:

This shows that the documentation has not has not been downloaded and therefore, any attempts to re-index or re-build the application without downloading the documentation would prevent you from being able to use the autocompletion functionality.

Once I downloaded the Xcode 7.3 Documentation and the OSX 10.11.4 Documentation, this was enough for me to get the autocomplete functionality back (I was trying to build an OS X app, so feel free to download as much documentation as is relevant for you).

ElonChan

I med this problem, go to XCode -> Preferences -> Text Editing, cancel Enable type-over completions .

this will also happen when you create a new file ,then the new file will lose the autocomplete ability.

Click cmd+shift+k trying cleaning the project and building it,

If that doesn't work, delete derived data from /Users//Library/Developer/Xcode/DerivedData

Or delete at here :

Autocomplete will be back ok 🎉!

try cleaning the project and building it, if that doesn't work, delete derived data from /Users//Library/Developer/Xcode/DerivedData, and then try it again. should work

I was having huge problems after upgrading from 7.2 to 7.3 and it completely ruined my productivity. But after I deleted all derived data, completely quit XCode, and then rebooted my system, everything went back to normal. Life is good again...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!