Software Archive
Read-only legacy content
17061 Discussions

how to change TARGETED_DEVICE_FAMILY

staurt_s_
Beginner
843 Views

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

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
843 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
Reply