Xcode 8 syntax highlighting doesn't work

前端 未结 9 625
情歌与酒
情歌与酒 2020-12-25 14:11

The code above has correct syntax highlighting in Xcode 7. It is mix of Obj-C + Swift:

I\'ve updated project to support

相关标签:
9条回答
  • 2020-12-25 14:21

    In my case:

    In Finder I navigated to user->Library->Developer->Xcode->DerivedData. Close your Xcode Project then Clear DerivedData. It's work for me.

    Happy Coding...:)

    0 讨论(0)
  • 2020-12-25 14:27

    Fixed. Problem was related to the presence of target in project which is not compiled. So if you have targets e.g. A, B, C and C is not compiled this cause problems with syntax highlighting.

    0 讨论(0)
  • 2020-12-25 14:32

    Setting Use Legacy Swift Language Version to YES in the Build Settings helped me to solve similar issue

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