Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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