Build universal iOS SDK with xcode 12

Hi, Facing issue while building iOS sdk-
Error:
Couldn't find Xcode.interfaceBuilderBuildSupport.PlatformDefinition extension for iphonesimulator
Couldn't find Xcode.interfaceBuilderBuildSupport.PlatformDefinition extension for macosx
Couldn't find Xcode.interfaceBuilderBuildSupport.PlatformDefinition extension for watchos
Couldn't find Xcode.interfaceBuilderBuildSupport.PlatformDefinition extension for watchsimulator
Could not initialize core
cannot find SDK variants with names 'iosmac'

I'm seeing this after installing Xcode 13 - seems to be affecting all installed versions of xcode - any idea how to fix it?

Had this issue trying to build a Cordova app with Xcode 12.4. Switching to Xcode 11.7 with xcode-select allowed the project to build sucessfully.

Build universal iOS SDK with xcode 12
 
 
Q