Xcode - Command "Find Selected Symbol in Workspace" gives no result

Example:

I have a state var curHighScore declared in ContentView.

I select it, right click and select "Find Selected Symbol in Workspace"

The result is : 1 resul in 1 file, i.e. the line of declaration of the var

But obviously, the same var is used at line #102:

How come this occurence is not found by the search command.

Such happens every now and then. Is there something I am missing ? What is causing this ? Thanks for your help.

Xcode - Command "Find Selected Symbol in Workspace" gives no result
 
 
Q