Xcode fails to resolve locked Package.resolved file when switching git branches while Xcode app is open

@NeoNacho Filed a Radar FB8783743