Jump to Definition doesn't work anymore

I have lost the ability to jump to definition in Xcode. Every time I use the jump to definition option I get a ? in the middle of the screen. I've tried it many times and still nothing. Is there a library that could of gotten corrupted or deleted? FYI it works on my iMac just not my MacBook all of the sudden.

Probably the index is corrupted.


Try a Clean Build Folder to force reindexing.

Which version Xcode on what version macOS?


All projects on the same mac or just one?

I've done that a few times and closed Xcode in between. I always clean and close twice to make sure, but for some reason no matter what I try the app works but not jump to definition. The only thing I can think of was maybe the library/folder got deleted by accident?

Jump to Definition doesn't work anymore
 
 
Q