How to set IOS device family?

When I build with my app with ionic package and upload it with application loader it says the device family is iPhone / iPad.

Is there something I can change in the config to only allow iPhone? The app is not suitable for iPad or iPod touch.


You can add the following to your config.xml

    <platform name="ios">
      <!-- accepted values are handset, tablet, universal -->
      <preference name="target-device" value="handset" />

1 Like

Thanks mate, I knew it’d be something simple!

This doesn’t actually work with ionic package… Still shows as iphone, ipod / ipad as the device family in ituneconnect…

Must be a cordova issue.

any updates on that? It is still not working for me with ionic package.

Best regards

I never got it to work. Ended up just going back to xcode to compile the app.

Any update ? I have same problem when using ionic package, it doesn’t follow target-device config.