How to exclude Mac or Apple Vision from destinations of an iOS build?

In set_target_properties I can choose between iPhone and iPad as destinations for my iOS app using XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY.

However Xcode also shows destinations Mac (Designed for iPad) and Apple Vision (Designed for iPad). How can I selectively exclude these? eg. I want to keep Apple Vision and exclude Mac.

Hi,
I have a similar question, for my part I want to remove both Mac (Designed for iPad) and Apple Vision (Designed for iPad. Did you find a solution?
Thanks.

No solution yet. For what it’s worth ChatGPT thinks there’s no way of doing this, except manually in Xcode.

OK thanks, that’s what I expected. Maybe in a future update of Xcode. To be continued!