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

前端 未结 15 969
时光说笑
时光说笑 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:14

    In our case the culprit turned out to be old version of the three20 libs. To get the project working I had to:

    1. Remove all references to three20 from the project
    2. Follow the instructions at http://three20.info/article/2011-03-10-Xcode4-Support

    As soon as the new library was installed, xcode4 automatically reindexed. Code completion, jump to definition and even Refactor all work now. The Joy(tm) of working with Xcode is back! :)

    In more general terms, any library that puts it header files into BUILT_PRODUCT_DIR is likely to have similar issues.

提交回复
热议问题