I cannot do "Jump to definition" from library code files

Hi


I frequently want to explore the properties and methods and inheritance of the library code I am using in my app, with the "Jump to definition" item that the Xcode editor's context menu offers. But that item for no apparent reason is not present once I am in the library code. I often end up copying and pasting some class back to my app just to get "Jump to definition".
Is there some setting that will enable this? Or is it a bug? I think it used to work. I have Xcode 10.1