Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode error while validation - "Your binary is not optimized for iPhone 5"

Just got stuck with this error while I'm trying to publish an app to app store. Sorry because i cant copy-paste the error code so I will post an image in my question.

enter image description here

like image 935
Khairil Ushan Avatar asked May 21 '14 10:05

Khairil Ushan


3 Answers

Add this image ([email protected]) to in your project at the top layer as below.

enter image description here

Image to add: enter image description here

like image 64
thatzprem Avatar answered Nov 16 '22 17:11

thatzprem


Are you sure the 568h file is actually in PNG format? Also make sure that you provided support for iphone 5 for all your screens? Only adding [email protected] is not gaurantee for iphone 5 support. You have to check for framing of all your view for iphone 3.5" and 4" device.

You can do the framing by code or autoresizing that is other thing.

Kindly check out this link: Your binary is not optimized for iPhone 5

like image 35
Irfan Avatar answered Nov 16 '22 16:11

Irfan


I faced the same error and its fixed by following these page instructions: enter image description here

http://dannysu.com/2014/04/16/not-optimized-for-iphone5/

like image 10
Afzaal Ahmad Avatar answered Nov 16 '22 15:11

Afzaal Ahmad