Xcode code sense and cmd+click to symbol doesn't work for 1 of my projects

前端 未结 9 827
醉话见心
醉话见心 2020-12-08 00:30

I\'ve been using Xcode 4.3.1 since it came out now and i\'ve worked on many different projects since. Everything has always worked fine until this 1 new project i\'m working

相关标签:
9条回答
  • 2020-12-08 01:16

    In my case, .m file was somehow located in en.lproj directory and that prevented it from being shown properly with syntax coloring and intellisense on.

    In the File inspector side panel check if there is something checked in Localization tab.

    0 讨论(0)
  • 2020-12-08 01:21

    Try this:

    Open the organizer. Close your project in Xcode (leaving Xcode and the organizer running). In the organizer, in projects, click on the Delete button next to Derived Data. Quit Xcode.

    Find your Xcode project via the finder. Rightclick and "Show Package Contents". Delete project.xcworkspace and xcuserdata folder.

    Open up Xcode again and see if that works for you.

    0 讨论(0)
  • 2020-12-08 01:21

    Similar issues with XCode 8. Just quitting the XCode and Simulator, reopening the project worked. Other times, Restarting the mac gets rid of question mark and does navigate to relevant method implementations

    And at times, simply closing the project and opening it again from 'File -> Open Recent' also works (XCode 8 and Swift 3)

    0 讨论(0)
提交回复
热议问题