"Missing package product" error for all local Swift Packages when switching git branches

Thanks @NeoNacho for nudging this along! Discovered a new SPM bug I think and started a new thread here: Xcode fails to resolve locked Package.resolved file when switching git branches while Xcode app is open - #2 by ray