How to run Catalyst xctest bundle with xcrun

I'm trying to run an xctest bundle, built for catalyst, with xcrun.

i.e. xcrun xctest path_to_my_test.xctest

It fails, complaining that:

The bundle "MyBundle" couldn't be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.....but incompatible platform (have 'MacCatalyst', need 'macOS')

So it seems like because I'm not executing it in a sim it wants the bundle to be a macOS bundle. But I would have thought it would be possible to run a Mac Catalyst target directly on a macOS host the same as a native macOS test target. Is this not possible?

How to run Catalyst xctest bundle with xcrun
 
 
Q