[ https://issues.apache.org/jira/browse/CB-6688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244143#comment-14244143 ]
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: 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org