Xcode 7.3 autocomplete issues

前端 未结 4 727
离开以前
离开以前 2021-01-12 09:47

I\'ve got some issues with the new autocomplete of Xcode 7.3

When I import a class, the class won\'t show up in autocomplete. Even more annoying, when an imported cl

4条回答
  •  滥情空心
    2021-01-12 10:24

    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).

提交回复
热议问题