cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Karpan (JIRA)" <>
Subject [jira] [Commented] (CB-6688) "target-device" preference in config.xml is completely ignored for iOS
Date Fri, 12 Dec 2014 13:38:13 GMT


Ivan Karpan commented on CB-6688:

Shazron, I can try implementing this feature but I want to ask a question in order not to
reinvent a couple of wheels on my way.

Target device is a target build setting in terms of an iOS project. As far as I understand
all the deviations from build settings defaults a fresh iOS Cordova project has is taken from
a template on the moment of adding the iOS platform.
And so I wonder if there are any other target build settings that are updated on cordova prepare
based upon the config.xml that I can look at and mimic the approach?

If the answer is no than maybe you have any directions on how to approach this. I would very
much not like to end up doing something that works but is inconsistent (read ugly) with the
rest of Cordova implementation.

> "target-device" preference in config.xml is completely ignored for iOS
> ----------------------------------------------------------------------
>                 Key: CB-6688
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: iOS
>    Affects Versions: 3.4.0
>            Reporter: Daniel Hough
> The following line in config.xml should cause the xcodeproj generated to have it's "Targeted
Device Family" different depending on the value. For instance, "handset" should cause it to
be "iPhone". Yet, even when "handset" is chose, it becomes a universal (iPad/iPhone) app.
> <preference name="target-device" value="handset" />
> This is a *real* problem, because if you don't realise that this is happening when you
submit to the App Store after three hours of screenshots and descriptions, you're rejected
because there are no iPad screenshots.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message