Xcode 13.4.1 Jump to Definition does not work

•View inside var body: some View {} line works

•Jump to Definition does not work inside View{}?

•It was working fine and then all of a sudden it stopped working

•Indexing is working

•The very same code inside another App works fine

•I have deleted the Show Package Contents; xcuserdata folder and project.xcworkspace file

•Is there anything else I might try to fix the problem that does not exist in another App?

•This does not seem very logical

  • Could you copy the code so that we can test ?

  • This happened again weeks later. Using Menu > Source Control > Discard All Changes… and the Build is Successful again. If you are having the same problem, please leave a Comment

Add a Comment