It looks like Xcode 14 now supports both iOS and Mac deployment from a single target. No more needing separate targets & schemes for multiplatform apps!

As far as I can tell, you need to have valid values for SUPPORTED_PLATFORMS and (MACOSX|IPHONEOS)_DEPLOYMENT_TARGET. #wwdc

Jared Sorge @jsorge