In Xcode 14, I had somewhat usable counterpart navigation available for the C++ files in my Swift package -- https://github.com/bradhowes/SF2Lib It was not perfect and would sometimes get confused, but from an include file I could use ^⌘↓ to show the related C++ file.
Now in Xcode 15, this no longer works. When I click on the "Navigate to Related Items" icon in the editor window, it shows various files but the "Counterparts" entry is greyed out. I now have to use "Open Quickly", type a file name and locate the right one.
I suspect this is due to my code layout and/or some missing setting in my Package.swift file that is not enabling this, but I am at a loss as to what it could be. I have erased the derived data for the project and rebuild everything from scratch. Everything builds and all test pass, but the Xcode navigation among related files is for now not working.
Hope someone has a fix for this.
Thanks!
Brad