You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2014/07/10 20:58:04 UTC

[jira] [Created] (CB-7118) iOS: add target-device and MinimumOSVersion support to config.xml

Sergey Grebnov created CB-7118:
----------------------------------

             Summary: iOS: add target-device and MinimumOSVersion support to config.xml
                 Key: CB-7118
                 URL: https://issues.apache.org/jira/browse/CB-7118
             Project: Apache Cordova
          Issue Type: New Feature
          Components: CordovaLib, iOS
            Reporter: Sergey Grebnov
            Assignee: Sergey Grebnov
            Priority: Minor


Discussed via mailing list as "iOS: add target-device and MinimumOSVersion support to config.xml"

Phonegap build already supports[2] preferences below and we could make this a part of Cordova. I can implement this if we agree. Thoughts?

#1 target-device
For targeting a specific device; possible values are handset, tablet, or universal (default). 
Example: 
<preference name="target-device" value="universal" />

#2 deployment-target
This sets the IPHONEOS_DEPLOYMENT_TARGET in the build, which tranlsates to the MinimumOSVersion in the ipa Propertly List. 
Example: 
<preference name="deployment-target" value="7.0" />

[2]http://docs.build.phonegap.com/en_US/configuring_preferences.md.html#_ios_only 




--
This message was sent by Atlassian JIRA
(v6.2#6252)