0

I am newbie on ios development. Right now am trying to upload new version of my application to App store with minor change from previous version. The previous version developed on Xcode 5, and now for new version I using Xcode7 with ios9 as target.

But when I am trying to upload new version I am getting the error message as shown below.

I already found the answer here Xcode error while validation - "Your binary is not optimized for iPhone 5" but cannot see Default-568h@2x.png anywhere in my project.

enter image description here

Community
  • 1
  • 1
Haris
  • 13,645
  • 12
  • 90
  • 121

1 Answers1

5

There are two ways to do this:

  1. Either upload the binary using Xcode 6+ and then go to Project -> Target and tick Required full Screen.

  2. If you wanted to do it by using Xcode 5.1.1 then create a default image for 320x568. Name of image will be "Default-568h@2x.png"

Michal
  • 15,429
  • 10
  • 73
  • 104
Abhishek Sharma
  • 475
  • 3
  • 13
  • I need to do it with Xcode7, I can see the option `Requires full screen` already checked at Project-> General-> Deployment Info. – Haris Dec 15 '15 at 13:03
  • try the second option, drag and drop "Default-568h@2x.png" into Images.xcassets. if you don't have Images.xcassets into directory then Project -> Target -> app Icon and Launch Images -> Launch Images Source -> click to add. – Abhishek Sharma Dec 15 '15 at 20:50
  • Now you will see Images.xcassets is added to directory – Abhishek Sharma Dec 15 '15 at 20:56