iPhone only app rejected for no iPad resolution... my fault or Apple error?

I submitted an app after using Build for iPhone only. I only submitted screenshots from iphone version (4 and 5).

The app got rejected due to not being optimized for size and resolution. The screenshots they attached were from an iPad resolution.

Do I require an iPad resolution even though the app was built as iPhone only or am I missing something?

Is there something more specific that needs to be done in the build and/or config files to be sure it is iPhone only?

Help would be appreciated.

Thanks.

Are you sure you built for iPhone on the release and not Universal?  

Usually this happens when you don’t build for the iPhone 5 and have black bars at the top and bottom.  This is a result of not having the required Default-568h@2x.png image in the folder with main.lua and not using a content area and background images that fill the screen.

No, it was built with iPhone only. I have the required images. I’ve tested in both the corona sim and the xcode sim for iphone 4 and 5 and all looks well.

I did a test using the corona sim as an ipad and can replicate the image of the iPad sent back from Apple. I’m just not sure why they tested on ipad. the App Summary even says Device Family: iphone/ipod

I came to post about this exact same issue.

“Was not optimized to support the device screen size and/or resolution; see screenshot for example.”

Also one of the screenshots they sent me is from someone else’s app…

I have the Default-568h@2x.png image and all of the screenshots they sent me filled the screen. In my case it also looked like iPad resolution in screenshots.

I would write back, in particular if they sent you the wrong screen shot, and get some clarification.  If your app is iPhone only, they should not be testing on iPads.  I wonder if something is giving them wrong information.

Are you sure you built for iPhone on the release and not Universal?  

Usually this happens when you don’t build for the iPhone 5 and have black bars at the top and bottom.  This is a result of not having the required Default-568h@2x.png image in the folder with main.lua and not using a content area and background images that fill the screen.

No, it was built with iPhone only. I have the required images. I’ve tested in both the corona sim and the xcode sim for iphone 4 and 5 and all looks well.

I did a test using the corona sim as an ipad and can replicate the image of the iPad sent back from Apple. I’m just not sure why they tested on ipad. the App Summary even says Device Family: iphone/ipod

I came to post about this exact same issue.

“Was not optimized to support the device screen size and/or resolution; see screenshot for example.”

Also one of the screenshots they sent me is from someone else’s app…

I have the Default-568h@2x.png image and all of the screenshots they sent me filled the screen. In my case it also looked like iPad resolution in screenshots.

I would write back, in particular if they sent you the wrong screen shot, and get some clarification.  If your app is iPhone only, they should not be testing on iPads.  I wonder if something is giving them wrong information.

It sounds to me like you have an error in your code when detecting if you’re running on an iPad.  I would try and run your iPhone only build on the iPad or in the Xcode iPad simulator and see what errors are showing up in the console log.  Also if your config.lua is trying to self adjust itself based on the device, this could cause layout problems for you.

Rob

It sounds to me like you have an error in your code when detecting if you’re running on an iPad.  I would try and run your iPhone only build on the iPad or in the Xcode iPad simulator and see what errors are showing up in the console log.  Also if your config.lua is trying to self adjust itself based on the device, this could cause layout problems for you.

 

Rob

Hi Rob,

This turned out to be my root cause problem. I was concerned at first that an iPhone build would give back values for stuff like display.contentWidth for iPad (if I ran on iPad). Looking in my config.lua, I found I was indeed doing some things in there to set content sizes up based on device as grabbed from the model. My bad. 

Thanks for that set of clues. 

It sounds to me like you have an error in your code when detecting if you’re running on an iPad.  I would try and run your iPhone only build on the iPad or in the Xcode iPad simulator and see what errors are showing up in the console log.  Also if your config.lua is trying to self adjust itself based on the device, this could cause layout problems for you.

Rob

It sounds to me like you have an error in your code when detecting if you’re running on an iPad.  I would try and run your iPhone only build on the iPad or in the Xcode iPad simulator and see what errors are showing up in the console log.  Also if your config.lua is trying to self adjust itself based on the device, this could cause layout problems for you.

 

Rob

Hi Rob,

This turned out to be my root cause problem. I was concerned at first that an iPhone build would give back values for stuff like display.contentWidth for iPad (if I ran on iPad). Looking in my config.lua, I found I was indeed doing some things in there to set content sizes up based on device as grabbed from the model. My bad. 

Thanks for that set of clues.