Setting iOS DeviceFamily in Info.plist

I am attempting to submit my game to the App Store, but it says that is supports iPad and I must upload iPad screenshots. I only want this game to support iPhones. The generated Info.plist indicates under devicefamily a “1” and “2” where the 2 represents iPad. How can I change these settings or edit the Info.plist so that I only support iPhones?

Directly editing the Info.plist in the packaged game causes issues. I also have unselected “Supports iPad” in the iOS settings for my project.

Hey ,

Have you tried going into Edit > Project Settings > Platforms > iOS and unchecking ‘Supports iPad’? Once you’ve done that, package the game again and try to submit it, let me know if that resolves the issue you’ve ran in to.

Thanks!

I had already done that. I had to manually edit the info.plist to not support iPad.

Yep, editing the info.plist fixed my issue. I had to manually change “UIDeviceFamily” key from 2 to 1, so the app is only considered to be fully functional on the iPhone and iPod Touch.

The issues of leaving the “UIDeviceFamily” key at 2 was that when I went to submit to the App Store, I had to provide iPad screenshots and the app was considered to be fully functional for iPad.

I can provide screenshots of the info.plist and the iPhone settings later if you still need them – the only changes I made in regard to iPad settings were unchecking “Supports iPad” and the change to info.plist I stated above.

I have not tested this in 4.9.0 yet.

Hey ,

Thank you for providing me that information, I apologize for misreading that previously. However, when you edited the info.plist, did that actually fix your issue. I see where you said it ‘causes issues’. What types of issues is editing the info.plist causing?

Do you have any screenshots from your iPhone settings from within the Editor, or perhaps your info.plist that you can provide for further review?

Have you tested this in 4.9.0 yet?

Thanks!

Thanks for letting us know what resolved your issue. If you notice this again in the future, please let us know.

By the way, I checked in 4.9 and changed the settings from iPhone and iPad to just iPhone and I do not have the same coding within the .plist, so hopefully it’s fixed at this time.

Have a wonderful week! :slight_smile:

Hey there , I know it is a long time ago, but can you give me a hiínt of how did you repackage the application back to IPA after changing the info.plist? Would help me a lot and I can only find the instructions on how to resign form one certificate to another…

Thanks in advance!