AppStore application sumbission xcode 4.2 failure because of launch image - iphone

I am trying to submit my first iOS application to AppStore using xCode 4.2.
I always get status of : "Invalid binary".
For the first time I got the following explanation:
"
iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. New iPhone apps and app updates submitted targeting iOS 6 and above must support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the portion of the launch image's filename. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images
"
but when I add the requested launch image I get another failure with following explanation:
"
Invalid Launch Image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.
"
My target OS is iOS 5.
Please help

You need to target for iOS 6 as iPhone5 is shipped with iOS6, then you can add the launch image with -568h size.

Now apple will accept apps that will support iOS 6.0 or later along with previous iOS version support. For that, you need launch image for retina display (iPhone 5 as well.)
You need following launch images for iPhone(only):
640 x 1136
640 x 960
320 x 480

You are targeting iOS 5, its not an issue. Even you can submit a app targeting iOS 4.3.
Issue is, your application is not optimized for iPhone5, you must add the launch images for iPhone 5 and iPhone 5 launch image resolution(pixel) should be exact 640x1136 (png). You should add it from Target>Launch Images.

You need to set target for latest iOS 6 and for icon , image size for app store please follow the below URL
iPhone , iPad icon size for Retina and non retina

Related

iOS app of xcode 6 not run properly in iOS7 , app leave the some black space from top and bottom

I am creating an ios app in xocde 6 and it run in simulator ( iphone5 iOS 8.0) it work very well. But it not work in iphone 5 iOS 7.0 simulator or iphone iOS 7.0 device. App leave some space from top and bottom .So please help me how can resolve it.
First thing is that you must add the required default image for 4 inch screen display. Check Properly in you project have image with name Default-568h#2x.png (640 × 1136 pixels)
Ones you add this image in to you Project, Remove old Build from device or Simulator, clear Project and re build.
You need to have launch image to resolve that issue , try with launch of proper dimensions.

XCode 3.2 supports iPhone 5?

My app was developed using Xcode 3.2 and now it's required to support iPhone 5 , actually it runs on iPhone 5 but the display is clipped showing some black space at the buttom and top,
The issue now is I want to support iPhone 5 full Screen in my application, so is it required to upgrade to the latest xcode version or it can be adjusted??
Thanks in Advance
Just add an image of the name Default-568h#2x.png with proper resolution (640x1136) pixel in your root folder.

iPhone 5 Launch image and App review

I am about to submit a game app for a review.
Game is built with iOS SDK 6.1 and iOS 5.1 as deployment target.
I currently do NOT have views for iPhone 5 (wide) and
the app is running in a letterbox mode on the IP5 which is fine.
The apple guidelines says that Default-568#2x (IP5 launch image) image is required,
but I get a problem if I include this image - the app is not longer running in letterbox mode and looks broken (content is not centered, appears on the left in landscape).
If I do not include the launch image for the IP5, can I expect problem with app review?
Has anyone recently submitted app without IP5 launch image?
IMPORTANT UPDATE:
Original question is now outdated! Since May 1st 2013 all submitted apps must have iPhone 5 launch image and you cannot rely on compatibility letterbox mode anymore.
You only include iPhone 5 launch image if you are supporting that screen. Not including the Default-568#2x.png launch image indicates that you are implicitly not supporting the screensize of the iPhone 5 and letterbox mode will be applied to iPhone 5 devices running your app.
You will not have any issues on the App Store. That is until Apple decides that all apps must support the 4" Retina screen going forward.
I just got App rejected for not having the -568h launch screen, which it says has been required as of May 1.
You are no longer allowed to submit an app or an update to an existing app without support for the 4" retina display on iPhone 5 and iPod Touch 5. Your binary will be rejected by an automatic scan process before it enters the "Waiting For Review" state.
No, not required Default-568#2x if you want to run your app in letterbox....

Is it possible to build an app for iPhone 5 screen size with the former SDK (iOS5)?

The latest SDK (Xcode 4.5) doesn't support armv6 and I need to support it right now, so I don't want to upgrade Xcode. Can I support iPhone 5 screen size and make an app in non letterbox mode on iPhone 5 from the previous Xcode (4.3.2)?
[edit] Comment by Brad Larson, change it all : Apple is now explicitly rejecting applications submitted with the iOS 5.x SDK and iPhone 5 default images, saying "Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
You can build an app that is compatible with iPhone 5 screen size by adding the 640x1136 Default-568h#2x.png in your resources (if the splash screen defined in your Info.plist is Default.png).
Xcode below 4.5 will let you test on iOS6 devices which is a new for Apple as when iOS5 arrived, all previous version of Xcode where not compatible with iOS5 (impossible to test on iOS5 devices).
So, YES you can develop for iOS6 and iPhone5 screen size from Xcode 4.4 or 4.3.

in ipad simulator how to set screen size to 1x 2x format

For my App I have set the target device family=iPhone/iPad
and in project-> Set Active executable to iPad simulator and it was opening my App in iPad simulator in 1x/2x format so i could change the size by using option 1x 2x.
now i have upgrated my IOS SDK to 4.2 from 4.1
the probleam is: now my App opens in the iPad simulator with full screen size(instead of 1x 2x format) and all controls' position on the screen has been changed and it spoiled whole look of app.
now I want to open my app in iPad simulator again in the same 1x 2x scrren sizes format.
so now How I can do that?
please help and suggest
thanks
The 1x/2x option is only a compatibility option for iPhone-only apps. If you set the targeted device family to iPhone/iPad, then it is a universal app and will always display at full resolution on the iPad.