You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "igorsantos07 (via GitHub)" <gi...@apache.org> on 2024/04/05 15:29:21 UTC
[I] Add preferences to config.xml to control which are the "Supported Destinations" [cordova-ios]
igorsantos07 opened a new issue, #1417:
URL: https://github.com/apache/cordova-ios/issues/1417
# 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Add preferences to config.xml to control which are the "Supported Destinations" [cordova-ios]
Posted by "dpogue (via GitHub)" <gi...@apache.org>.
dpogue closed issue #1417: Add preferences to config.xml to control which are the "Supported Destinations"
URL: https://github.com/apache/cordova-ios/issues/1417
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org