Prevent duplicate tabs in Xcode editor
There is no way in Xcode (both natively or via any preference) to switch to the tab with the file already open (when attempting to open a file from another tab/window).
This seems appropriate, as many a times a file may be required to be open in multiple tabs/windows. Also, alongside the assistant editor feature of Xcode, having such a feature may not be practical/desirable.