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

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

    In my XCode 4 setup, it is 100% reproducible that setting the User Header Search Path will break codesense, especially "Jump to Definition", after a restart. I have create a new project, added my helper library as a subproject. If I include the headers with the User Header Search Path (recursive), I can compile, but autocomplete/navigation is broken.

    Deleting the header search path, closing the project, and reopening, fixes it again.

提交回复
热议问题