Xcode 4: Auto-complete & Jump to Definition broken in my Xcode 3 Project

前端 未结 15 967
时光说笑
时光说笑 2021-01-30 09:11

My project was created in Xcode 3, I\'m opening it in Xcode 4 and notice the following:

  • \'Jump to Definition\' no longer works with my own symbols
15条回答
  •  执笔经年
    2021-01-30 09:29

    From this comment here I was able to debug a similar problem with my project, it seemed to be a bad -w flag that the clang preprocessor wasn't recognizing properly. Basically, running

    defaults write com.apple.dt.Xcode IDEIndexingClangInvocationLogLevel 3

    in Terminal increases the verbosity of the indexer, and should help you track down issues. Run Console.app and search for IDEIndexingClang.

提交回复
热议问题