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

fengd9946600
Inspiring
Feb 1, 2017 4:12 PM UTC

I've installed Air24, but the issue still remain. I still can't use integer for UIDeviceFamily. Does anyone know how to fix this?

Translate
Colin Holgate
Inspiring
Feb 1, 2017 5:19 PM UTC

I don't think you edit the XML, let that stay as an array of strings. ADT will make the info.plist entry be integer.

Translate
fengd9946600
Inspiring
Feb 3, 2017 6:04 PM UTC

Thanks, you are right, ADT will do that for developers.

Translate
Chema Juárez
Participating Frequently
Dec 5, 2016 11:34 AM UTC

Adobe AIR Beta 24 throws me an error in iPad Mini and iPad 2 (at least) with Starling Framework: Error #3672: Buffer creation failed. Internal error.

Is there any solution with Adobe AIR 23?.

Do you know if i could sale my app with this bug?

Translate
Participating Frequently
Dec 5, 2016 11:50 AM UTC

Hi,

Please refer to similar issue reported on another thread: Re: Air 24 Beta crashing in iOS

We are working on this issue and will post when we have updates.

Thanks,

Krati

Translate
Chema Juárez
Participating Frequently
Dec 5, 2016 12:19 PM UTC

Ok, thanks.

Translate
Participant
Nov 26, 2016 5:20 AM UTC

I have the some problem

Translate
Colin Holgate
Inspiring
Nov 26, 2016 5:52 AM UTC

Did you also try using AIR 24?

Translate
OXWARD
Participant
Nov 7, 2016 3:23 PM UTC

WARNING ITMS-90686: "Invalid type for UIDeviceFamily value.Values for UIDeviceFamily are expected to be integers."

I can't sale my APP.

Translate
Colin Holgate
Inspiring
Nov 7, 2016 3:33 PM UTC

Use AIR 24 beta instead of the current AIR 23 release version. You can get it at: Download Adobe AIR 24 Beta - Adobe Labs

Translate
Participating Frequently
Nov 7, 2016 11:57 AM UTC

I am still getting  the issue with latest AIR 24 beta even though In release notes its mentioned as

  • [iOS] UIDeviceFamily values are now integers.
Translate
Ján_Horváth
Participating Frequently
Nov 7, 2016 12:10 PM UTC

Have you tried to modify -swf-version to latest one (34 or 35 I am not sure now)?

Translate
Participating Frequently
Nov 7, 2016 12:22 PM UTC

I changed -swf-version <swf-version>35</swf-version> in airmobile-config.xml file

Translate
mintyh
Known Participant
Oct 20, 2016 9:08 AM UTC

Like others here, I successfully published an IPA (using Animate on Windows 7) that got the "Values for UIDeviceFamily are expected to be integers" message when uploaded via my Mac's XCode uploader. It appears in TestFlight but has a red exclamation next to it, and cannot be chosen as a new build (to replace the one that has just expired).

The submission is successful enough that the build appears in iTunesConnect>TestFlight but has a red exclamation next to it, and cannot be chosen as a new build (to replace the one that has just expired).

I tried manually changing the app descriptor xml file to set the "UIDeviceFamily" attribute to be an integer before publishing with Animate, but Animate overwrote it.

I changed it to integer and set the file to 'read only'... and Animate says "An attribute contains an invalid value: UIDeviceFamily".

I tried "number" instead of "integer" but that only changed the error that Animate produces slightly.

It would seem that there must be a reasonably easy tweak either to Air or Animate to either change the attribute that is created, or else change the attribute checking so that we can edit the XML file manually for the moment and not have it spit a publish error.

Adobe? Watch ya reckon? I'd like to be able to use Testflight again, and soon. ;-)

Translate
App runner KG
Known Participant
Oct 19, 2016 7:57 PM UTC

my app got rejected. can not activate at testflight. please fix this

Translate
Colin Holgate
Inspiring
Oct 19, 2016 8:43 PM UTC

Make sure you don't have the same problem shown in message 14 here:

Re: Uploading to Itunes - Invalid type for UIDeviceFamily value

Translate
Participant
Oct 14, 2016 9:49 PM UTC

We just noticed this warning today, too. Glad to see we're not alone in this.

Translate
Inspiring
Oct 19, 2016 9:02 AM UTC

Can we please have an update on Adobe with what is happening on this issue as it is becoming time critical for me as I am sure it is for others.  Thanks

Translate
Infin8
Inspiring
Oct 19, 2016 9:36 AM UTC

Time critical why? As others have mentioned this does not affect the apps usage or ability to be submitted. It is purely an information notice.

Translate
Participant
Oct 12, 2016 1:39 PM UTC

Same issue, but, it will work on iPhone, but, when you try to install same app (with both UIDeviceFamily=1 & 2), it will not install using TestFlight, indicates "not compatible". 

PLEASE FIX!

Translate
Flipline
Inspiring
Oct 13, 2016 4:00 PM UTC

Does anyone know if this "not compatible" issue only applies to TestFlight, or will this happen from a live app in the App Store as well?  We have an update ready for a universal app that also got this warning in Application Loader, and we're not sure if we should push this live or not.  It did show up as a valid build under Activity > iOS Builds, and it does show Device Family: "iPhone / iPod Touch, iPad" for that build.

Translate
Infin8
Inspiring
Oct 13, 2016 4:02 PM UTC

I have been able to install my app on iPhone and iPad through TestFlight despite getting the warning when uploading with Application Loader.

Translate
Inspiring
Oct 11, 2016 6:29 PM UTC

Same issue, will follow this thread.

Translate