The only way so far to control to which devices my iOS app gets built is via target-device, which only accepts iPhone and/or iPad as parameters, exactly how Xcode does it at Build Settings > Deployment > Targeted Device Families.
However, there's no way to avoid an app to be available for "designed for iPad" destinations, such as Mac or Apple Vision. This is removable by going to General > Supported Destinations, but it obviously goes away once you reset your platform folder, e.g. new clone.
This probably ties directly with the "Compatibility" section on the App Store:
Feature Description
There should be a new preference tag to control those destinations.
Alternatives or Workarounds
As mentioned, some people confuse this request with the target-device preference, but that doesn't allow removing those "designed for iPad" destinations, in case you do want to support actual iPads.
1313 was suggested as a similar topic, but that's related to Catalyst, which is indeed another option on that destinations list, but to my understanding the problem is not which version to build, but instead which versions are allowed to be built - or in which device types the app is allowed to be used, in case of iPad adaptations.
Feature Request
Motivation Behind Feature
The only way so far to control to which devices my iOS app gets built is via
target-device
, which only accepts iPhone and/or iPad as parameters, exactly how Xcode does it at Build Settings > Deployment > Targeted Device Families.However, there's no way to avoid an app to be available for "designed for iPad" destinations, such as Mac or Apple Vision. This is removable by going to General > Supported Destinations, but it obviously goes away once you reset your platform folder, e.g. new clone.
This probably ties directly with the "Compatibility" section on the App Store:
Feature Description
There should be a new preference tag to control those destinations.
Alternatives or Workarounds
As mentioned, some people confuse this request with the
target-device
preference, but that doesn't allow removing those "designed for iPad" destinations, in case you do want to support actual iPads.1313 was suggested as a similar topic, but that's related to Catalyst, which is indeed another option on that destinations list, but to my understanding the problem is not which version to build, but instead which versions are allowed to be built - or in which device types the app is allowed to be used, in case of iPad adaptations.