dev/platforms/ios/cordova/lib/prepare.js
function parseTargetDevicePreference(value) {
    if (!value) return null;
    var map = { 'universal': '"1,2"', 'handset': '"1"', 'tablet': '"2"'};
    if (map[value.toLowerCase()]) {
        return map[value.toLowerCase()];
    }
    events.emit('warn', 'Unknown target-device preference value: "' + value + '".');
    return null;
}
function parseTargetDevicePreference(value) {
    if (!value) return null;
    var map = { 'universal': '"1,2"', 'handset': '"1"', 'tablet': '"2"'};
    if (map[value.toLowerCase()]) {
        return map[value.toLowerCase()];
    }
    events.emit('warn', 'Unknown target-device preference value: "' + value + '".');
    return null;
}
function parseTargetDevicePreference ( value ) { if ( ! value ) return null ; var map = { 'universal' : '"1,2"' , 'handset' : '"1"' , 'tablet' : '"2"' } ; if ( map [ value . toLowerCase ( ) ] ) { return map [ value . toLowerCase ( ) ] ; } events . emit ( 'warn' , 'Unknown target-device preference value: "' + value + '".' ) ; return null ; }
Converts cordova specific representation of target device to XCode value
Converts cordova specific representation of target device to XCode value