Software Archive
Read-only legacy content
17060 讨论

how to change TARGETED_DEVICE_FAMILY

staurt_s_
初学者
1,085 次查看

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

0 项奖励
1 回复
PaulF_IntelCorp
1,085 次查看

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 项奖励
回复