Can't make app iPhone-only; always builds Universal in latest build

A recent Corona Enterprise build (2014.2472) seems to force build my app as Universal, when it’s supposed to be iPhone-only. I’m building with XCode 6.1 and Devices is set to iPhone only.

When building the app and running on iPad, it runs as an iPad app.

Also, when I submit to iTunes Connect, it kept gives me the message “Your binary indicates support for iPad.”

To confirm it was Corona Enterprise, I left my project unchanged but reverted Corona Enterprise back to version to 2014.2185. Doing this successfully made the app build iPhone-only.

I’ve spent the better half of a day trying to figure out this problem. Anyone have an idea why?

Engineering says this has to be a project property.  See: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html#//apple_ref/doc/uid/TP40012582-CH28-SW19

Rob

Hi Rob,

I have the very same problem as apps638.

Of course I have tried to change the related project property several time. Just like apps638 I’m stuck and spent all the afternoon/evening to try to solve this but with no avail.

I think he is correct and there is a bug preventing projects with recent Corona Enterprise builds to go in “iPhone only” mode.

I’m using Corona Enterprise build 2014.2468.

Please suggest a solution or anything.

Thanks

Sparkle

Hi again,

today I upgraded to the very last Corona Enterprise daily build and tried with the sample app.

Again, switching to “iPhone only” does not have any result and the app is still compiled as Universal.

Yesterday I’ve also filed a bug report (Case 37034).

I can imagine that a true resolution of the problem could take time, but please give us a workaround, even just a manual one to apply on ourselves, because this is preventing us from publishing our app.

Any suggestions really welcome!

Thanks in advance

Sparkle

I think they have found the cause, I’m not sure if it will be fixed in the next daily build or a couple out.

Rob

Oops, this was a regression related to other cleanup from a few months ago. This should be fixed in 2502. The issue was that we were incorrectly writing out UIDeviceFamily values in the Info.plist.

You really rock!

Please Walter and Rob, extend my thank you to all the team.

Engineering says this has to be a project property.  See: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html#//apple_ref/doc/uid/TP40012582-CH28-SW19

Rob

Hi Rob,

I have the very same problem as apps638.

Of course I have tried to change the related project property several time. Just like apps638 I’m stuck and spent all the afternoon/evening to try to solve this but with no avail.

I think he is correct and there is a bug preventing projects with recent Corona Enterprise builds to go in “iPhone only” mode.

I’m using Corona Enterprise build 2014.2468.

Please suggest a solution or anything.

Thanks

Sparkle

Hi again,

today I upgraded to the very last Corona Enterprise daily build and tried with the sample app.

Again, switching to “iPhone only” does not have any result and the app is still compiled as Universal.

Yesterday I’ve also filed a bug report (Case 37034).

I can imagine that a true resolution of the problem could take time, but please give us a workaround, even just a manual one to apply on ourselves, because this is preventing us from publishing our app.

Any suggestions really welcome!

Thanks in advance

Sparkle

I think they have found the cause, I’m not sure if it will be fixed in the next daily build or a couple out.

Rob

Oops, this was a regression related to other cleanup from a few months ago. This should be fixed in 2502. The issue was that we were incorrectly writing out UIDeviceFamily values in the Info.plist.

You really rock!

Please Walter and Rob, extend my thank you to all the team.