I had a similar problem (Previews not working after update to Xcode 14) but with different error messages saying that some of the types from frameworks were unavailable.
What solved it for me, is enabling Rosetta for Xcode 14.
If you have a M1 mac, right click the Xcode app, click on Information and then activate the checkbox "open with Rosetta".
Restart Xcode 14.
Hope it helps.