Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
26 Views

how to change TARGETED_DEVICE_FAMILY

on my ios full log, how do i change from TARGETED_DEVICE_FAMILY = 1,2 to TARGETED_DEVICE_FAMILY = 1 ? TIA

Tags (2)
0 Kudos
1 Reply
Highlighted
26 Views

Using the intelxdk.config.additions.xml file. See this one for an example > https://github.com/gomobile/sample-hello-cordova/blob/master/intelxdk.config.additions.xml#L105 < meaning add something like this:

<platform name="ios">
    <!-- to select between building for iPhone, iPad or both -->
    <!-- https://cordova.apache.org/docs/en/5.4.0/guide/platforms/ios/config.html -->
    <!-- valid values are handset, tablet and universal -->
    <preference name="target-device" value="universal" />
</platform>

I don't know which platform you are targeting, you'll have to update the code appropriately to match your needs.

0 Kudos