You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/02/02 23:26:35 UTC

[jira] [Commented] (CB-6688) "target-device" preference in config.xml is completely ignored for iOS

    [ https://issues.apache.org/jira/browse/CB-6688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14302057#comment-14302057 ] 

Shazron Abdullah commented on CB-6688:
--------------------------------------

I believe there was a recent update to cordova-lib/cordova-cli where someone added support for Orientation, that updated the Info.plist for a project.

> "target-device" preference in config.xml is completely ignored for iOS
> ----------------------------------------------------------------------
>
>                 Key: CB-6688
>                 URL: https://issues.apache.org/jira/browse/CB-6688
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org