Skip to main content
Inspiring
October 6, 2016
Question

Air 23 SDK - Invalid type for UIDeviceFamily value - Values for UIDeviceFamily are expected to be integers.

  • October 6, 2016
  • 16 replies
  • 11087 views

When submitting an Air 23 SDK ios app to iTunes, I received the following warning

Invalid type for UIDeviceFamily value - Values for UIDeviceFamily are expected to be integers.

the key is set as:

<key>UIDeviceFamily</key><array><string>1</string><string>2</string></array>

I have tried to change string to number and integer, neither will compile in Air - get error saying invalid value in key.

This is just a warning, iTunes apparently accepted the app, but would like to know a fix.

This topic has been closed for replies.

16 replies

Community Manager
October 10, 2016

Hi Everyone,

We are aware of this issue and are working on same.

Thanks,

Krati

Adobe AIR Team

Inspiring
October 11, 2016

thanks! follow.

Known Participant
October 8, 2016

We got the warning but the app was not rejected.

Known Participant
October 7, 2016

our delivery was successful, but you may wish to correct the following issues in your next delivery: 

Invalid type for UIDeviceFamily value - Values for UIDeviceFamily are expected to be integers.

So maybe we don't need to do anything really...

Inspiring
October 8, 2016

Till it will be rejected I'm afraid...

But maybe Adobe Air will find a solution till then :-)

Known Participant
October 8, 2016

Did your app get rejected? Or you just got that warning and the app was approved?

Known Participant
October 7, 2016

Also, yes, number and integer types will not compile in AIR, tried that. You'd have to probably change it to Number in the plist, but of course Apple doesn't let you do that manually. This if anything seems to me a way to target and cripple AIR apps specifically until Adobe releases a patch.

Known Participant
October 7, 2016

Same issue today and yesterday. It so happens we were still running AIR 21 when this happened, so it's not related to AIR 23, I don't think. Apparently Apple changed something. See this thread:

Uploading to Itunes - Invalid type for UIDeviceFamily value

gmarkowski
Participating Frequently
October 6, 2016

I had exactly the same issue today!