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

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

    This just worked for me:

    • Open your Xcode project.
    • Open up a command prompt in your project directory and type:

      touch MyProject.xcodeproj/project.pbxproj

    • Watch as syntax coloring and other stuff gets fixed before your eyes.

    • Reopen your project (or adjust a project setting) if your project schemes get reset to "My Mac" for iOS projects.

提交回复
热议问题