title: Build with xcodebuild for Mac Catalyst Apple Silicon
body: <p>I'm trying to build a framework supporting Apple Silicon with Mac Catalyst using Xcode 12 beta 4. The project builds fine in Xcode with the &quot;Any Mac&quot; destination.
  If I use the command</p>
  <pre><code>xcodebuild -project &quot;project.xcodeproj&quot; -configuration &quot;Release&quot; -scheme &quot;MyScheme&quot; -destination &quot;generic/platform=macOS,variant=Mac Catalyst,name=Any Mac&quot;
  </code></pre>
  <p>I get the error</p>
  <pre><code>xcodebuild: error: Unable to find a destination matching the provided destination specifier:
          { generic:1, platform:macOS, variant:Mac Catalyst, name:Any Mac }
      Unsupported device specifier option.
      The device “My Mac” does not support the following options: name
      Please supply only supported device specifier options.
  ...
  Ineligible destinations for the &quot;MyScheme&quot; scheme:
          { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
          { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
          { platform:macOS, variant:Mac Catalyst, name:Any Mac }
  </code></pre>
  <p>I'm not sure why the destination is listed as ineligible when it builds correctly in Xcode, or why xcodebuild seems to use the &quot;My Mac&quot; device when generic is enabled.
  How can I build for Mac Catalyst on Apple Silicon with xcodebuild?</p>