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

fengd9946600
Inspiring
February 1, 2017

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

Colin Holgate
Inspiring
February 1, 2017

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.

fengd9946600
Inspiring
February 3, 2017

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

Chema Juárez
Participating Frequently
December 5, 2016

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?

Community Manager
December 5, 2016

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

Chema Juárez
Participating Frequently
December 5, 2016

Ok, thanks.

Participant
November 26, 2016

I have the some problem

Colin Holgate
Inspiring
November 26, 2016

Did you also try using AIR 24?

OXWARD
Participant
November 7, 2016

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

I can't sale my APP.

Colin Holgate
Inspiring
November 7, 2016

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

Participating Frequently
November 7, 2016

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.
Ján_Horváth
Participating Frequently
November 7, 2016

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

Participating Frequently
November 7, 2016

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

mintyh
Known Participant
October 20, 2016

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

App runner KG
Known Participant
October 19, 2016

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

Colin Holgate
Inspiring
October 19, 2016

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

Re: Uploading to Itunes - Invalid type for UIDeviceFamily value

Participant
October 14, 2016

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

Inspiring
October 19, 2016

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

Infin8
Inspiring
October 19, 2016

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.

Participant
October 12, 2016

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!

Flipline
Inspiring
October 13, 2016

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.

Infin8
Inspiring
October 13, 2016

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

Inspiring
October 11, 2016

Same issue, will follow this thread.