Same here! After Installing XCode14.3beta (which does not support Rosetta), older Xcode-Version that do support Rosetta (e.g. Xcode 14.1, 14.2) do not work correctly anymore, even if the Activity Monitor says, that they are running in Rosetta-Mode ("Intel").
Deleting XCode14.3beta and redownloading XCode14.1/2 does not help either.
ERROR: ... building for iOS Simulator, but linking in object file built for iOS, file '/Users/***/ExternalLibs/Radaee/include/libRDPDFLibSDK.a' for architecture arm64
The error does not occur on other Macs with MacOS Ventura, as long as XCode14.3beta was not installed.
Configuration:
MacBookPro, Chip: Apple M1 Pro, OS: MacOS Ventura 13.2.1, Xcode Version 14.1 or 14.2, Rosetta Checkbox activated