Xcode 4 autocomplete buggy

前端 未结 5 2446
北荒
北荒 2021-02-19 17:07

do you face also the problems with Xcode 4 autocomplete feature that used to work great on version 3.x.x?

I\'ve imported in the Prefix some classes and Xcode doesn\'t wan

5条回答
  •  深忆病人
    2021-02-19 17:29

    I found that sometimes the autocompletion gets broken when dealing with stuff defined in the prefix header. One way to get Xcode to index those again correctly is to use the touch command in the Terminal, e.g.:

    touch /Users/someguy/Document/Foo-App/Foo-Prefix.pch
    

    Or add a new line to the prefix for the same effect. Xcode then gets busy reindexing and things work again.

提交回复
热议问题