The easist way to install and manage multiple versions of Xcode. With a mouse click or through a CLI
anchor apple generic and identifier "com.xcodesorg.xcodesapp" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = ZU6GR6B2FY)