Skip to main content
Inspiring
Oct 6, 2016 3:27 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

43 replies

Participating Frequently
Oct 10, 2016 3:22 AM UTC

Hi Everyone,

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

Thanks,

Krati

Adobe AIR Team

Translate
Inspiring
Oct 11, 2016 7:30 AM UTC

thanks! follow.

Translate
Known Participant
Oct 8, 2016 8:08 PM UTC

We got the warning but the app was not rejected.

Translate
Known Participant
Oct 7, 2016 1:01 PM UTC

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...

Translate
Inspiring
Oct 8, 2016 2:00 PM UTC

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

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

Translate
Known Participant
Oct 8, 2016 2:48 PM UTC

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

Translate
Known Participant
Oct 7, 2016 3:14 AM UTC

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.

Translate
Known Participant
Oct 7, 2016 3:12 AM UTC

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

Translate
gmarkowski
Participating Frequently
Oct 6, 2016 6:54 PM UTC

I had exactly the same issue today!

Translate