“Your binary is not optimized for iPhone 5” (ITMS-90096) when submitting

up vote 37 down vote favorite

7

this is my first ios app and when i try to submit it to the app store it gives me the ITMS-90096 error.

I think i have already uploaded all the right icons and splash screen images.It says something about the launchimage for 4-inch display on iphone-5 but i have no idea where to add it.

here is my launch image source.

i am fairly new to ios development i have a small android background and the ios process of adding and submitting apps seems quite alien to me.

ios iphone xcode6
shareimprove this question
edited Mar 3 '15 at 11:03
David Rönnqvist

37.7k14100142

asked Mar 3 '15 at 10:56
Pawan Yadav

3821615

 
add a comment

12 Answers

active oldest votes
up vote 24 down vote accepted
  1. Check all those images are .PNG
  2. Put those images at root level of your project
  3. Add another splash.png with name "Default-568h@2x.png" for iPhone 5. Its size should be 640 × 1136 pixel.
shareimprove this answer
answered Mar 3 '15 at 11:04
user821127

 
2  
should i put all the images at the root level of the project or in images.xcassets ? – Pawan Yadav Mar 3 '15 at 11:07
1  
if you are using images.xcassets then it should not create any issue. Put there it will still work. – user821127 Mar 3 '15 at 11:08
 
thank you @iOS Weblineindia – Pawan Yadav Mar 3 '15 at 11:23
 
What if I don;t want to use any launchimage ? – Raju Gujarati Jan 27 at 7:48
add a comment
up vote 21 down vote

So like @Aditya Deshmane I also use .xib file as my "Launch Image".

Adding both Default-568.png and Default-568@2x.png to my root directory didn't solve my issue.

I had to add the UILaunchImages key to my Info.plist:

<key>UILaunchImages</key>
<array><dict><key>UILaunchImageName</key><string>Default-568</string><key>UILaunchImageSize</key><string>{320, 568}</string></dict>
</array>

As described here: iOS Key UILaunchImages

shareimprove this answer
edited Oct 12 '15 at 15:12
answered Oct 9 '15 at 16:22
Danpe

6,850755104

 
 
This was perfect timing. I was just trying to figure this out; adding to the root didn't work for me, but the plist addition did it. Thanks! @Danpe – Kevin Jantzer Oct 9 '15 at 16:54
3  
This works. Make sure that: 1. Image name is Default-568 2. It is at the root of the project 3. Its dimensions are 320x568 Trivial, but absolutely required. – Aswin Kumar Oct 24 '15 at 9:38
1  
Thanks man. Works perfect – jose920405 Nov 27 '15 at 13:49
 
When you say root directory, do you mean the same directory as MyProject.xcodeproj ? or the directory MyProject/.. – W.K.S Dec 12 '15 at 2:37
 
@W.K.S to the same directory as the MyProject.xcodeproj. but it didn't solve my issue until I added the UILaunchImages key – Danpe Dec 12 '15 at 16:31
show 1 more comment
up vote 17 down vote

Question is already answered and works as well, just adding one more answer as i got similar error in different scenario.

In my case i was using LaunchScreen.xib which is alternative to using splash images.

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html

As stated in above link "In iOS 8 and later, you can create a XIB or storyboard file instead of a static launch image."

But even after using XIB i got this error.

To solve this i took screenshot of splash from 4 inch device running iOS 8, which was 640 × 1136 pixel. Renamed it to "Default-568h@2x.png" added it to top level in project bundle.

Reason behind this error could be :

When apple transitioned from 3.5 inch devices to 4.0 devices, this image was compulsory otherwise app used to run in letterbox mode ( On 4 inch devices you will see black bars on top and bottom of application ).So when i tried to run my application on 4 inch device/simulator running iOS 7.1 it was indeed running into letterbox mode ( when i only used .xib based splash ). The moment i added "Default-568h@2x.png" letterbox mode gone plus apple approved app.

shareimprove this answer
answered Jul 31 '15 at 19:42
Aditya Deshmane

1,5461920

 
 
Great answer for those using the more recent xcode 6.x – Charlie Seligman Sep 15 '15 at 21:23
 
This saved many hours of mine! Thanks.. – gbesler Oct 9 '15 at 15:42
 
This worked for me! Trying to submit a new app, created using Xcode 7 (after so long) certainly guarantees these "gotcha moments"! – Nitin Alabur Oct 13 '15 at 17:15
 
I am also facing the same issue. I am also using XIB. What do you mean by "added it to top level in project bundle"? Where is the file added? – Pranav Prakash Jan 18 at 6:45
 
@Pranav select your project file and right click to add it at root level, don't add it under other directories – Aditya Deshmane Jan 18 at 11:18
show 1 more comment
up vote 6 down vote

In my case, I don't use LaunchScreen file but had a value in there. Deleting it like this worked:

shareimprove this answer
answered Oct 19 '15 at 11:57
Esq

7,27164859

 
add a comment
up vote 4 down vote

I also had a hard time to figure it out. It happened to me after I upgraded XCode into version 7 (iOS 9). Somehow it unassigned launch images and changed Launch Image options with unchecked iPhone Portrait for iOS 6.0 and Prior from the right pane.

After I checked iPhone Portrait it shows assignable iPhone Portrait iOS 5, 6. I just drag & drop images into the proper holders.

Then I archived with this assignment and uploaded binary successfully into app store. I hope this would help.

shareimprove this answer
answered Sep 24 '15 at 1:53
Sanghoon

5682824

 
 
This worked great. Thanks – delrox Nov 12 '15 at 21:48
 
The problem is made worse because in Xcode 7.1.1 there are two slots for a "Retina 4" launch image, with the same expected dimensions. One is for iOS 5,6 and the other is for iOS 7-9. – Tim R. Jan 11 at 19:03
add a comment
up vote 2 down vote

On Xcode 7 with iOS 9 SDK, if you set 'deployment target' to 8.0 or above, and don't have a asset catalog selected for 'launch images source', then it will work.

shareimprove this answer
answered Nov 10 '15 at 10:09
Ariel Gelbard

645

 
add a comment
up vote 1 down vote

This solution is only for Phonegap + DevExtreme + Visual Studio (Windows):

I struggled for 3 consecutive days to solve this issue. Hope somebody else not have to.

Please follow the below mentioned Steps to resolve the issue:

  1. Create a New Solution.
  2. Delete all the Files and Folders except the "congif.xml" and Solution File.
  3. Copy your existing Files and Folders to the New Solution. DONT COPY THE IMAGES which includes the ICONS AND SPLASH/LAUNCH IMAGES.
  4. In the New Solution, add all the Icons and Splash images from fresh.

Build this Solution with proper Distribution Certificate and submit the IPA to App Store. It must solve the "90096" Error.

Thanks.

shareimprove this answer
answered Sep 12 '15 at 10:30
Ankit Prajapati

644

 
add a comment
up vote 1 down vote

Try to clear "Launch screen file" at "App icons and Launch images"

Remove the laucnh Screen File: Remove name.

shareimprove this answer
answered Sep 18 '15 at 9:37
Priyank Gujarati

112

 
 
Could you please elaborate more your answer adding a little more description about the solution you provide? – abarisone Sep 18 '15 at 9:41
 
I also got same error while uploading the application in landscape 1.)U can change the name in Info.plist Main storyboard file base name:Main 2.)U can "Remove" the name which has been written in "Launch Screen File" it will work in my case it has – Priyank Gujarati Sep 18 '15 at 9:51
add a comment
up vote 1 down vote

From iOS9, you should add launch images to your project root, not Images.xcassets folder. And set your launch images in info.plist with key UILaunchImages, for my example:

<key>UILaunchImages</key>
<array><dict><key>UILaunchImageMinimumOSVersion</key><string>7.1</string><key>UILaunchImageName</key><string>iPhone5Portrait</string></dict><dict><key>UILaunchImageMinimumOSVersion</key><string>7.1</string><key>UILaunchImageName</key><string>iPhone6Portrait</string></dict>
</array>

shareimprove this answer
edited Sep 25 '15 at 3:43
answered Sep 25 '15 at 3:38
liruqi

558510

 
add a comment
up vote 1 down vote

Using XCODE 7.0.1 with an app that did not have the launch images setup. Tried to use the interface to "create" the locations in the .xcassets file, but only created a set with a bad name.

Had to go back to XCODE 6.4 to create the proper locations / set name "LaunchImage" and load the files.

Then back to XCODE 7.0.1 and all seems good.

Looks like there is a bug introduced in XCODE 7.x that will not create the launch image .xcassets correctly.

shareimprove this answer
answered Oct 15 '15 at 16:04
ort11

1,71831748

 
 
I wonder why Apple care to release new versions of Xcode. Every new version, more bugs. The old ones are still there. I simply hate Xcode. – SpaceDog Oct 15 '15 at 20:05
add a comment
up vote 0 down vote

I've encountered such problem in my project.1. The problem was using LaunchScreen.Xib without removing the LaunchImages in Images.assets.After delete LaunchImages from Images.assets, uploading is successfully completed.2. Please set Deployment Target into over 8.0If you want to deploy 7.0 too, you have to add launchimages.

shareimprove this answer
edited Dec 22 '15 at 19:23
answered Dec 22 '15 at 2:31
SeniorCoder

286

 
add a comment
up vote 0 down vote

Similarly to @Sanghoon, when I got this problem it was due to to targeted versions of iOS for which no iPhone Portrait launch image was specified (though it worked fine in XCode 6)

I'm not fond of placing all the launch images in the root folder, image catalogs work more elegantly and you don't have to name the files according to the @2x @3x convention since the image catalog takes care of it.

My full answer here: http://stackoverflow.com/a/34792891/1014983

shareimprove this answer

ios 提交错误 ITMS-90096相关推荐

  1. iOS提交应用至App Store流程及真机调试 一,证书、配置文件

    前言:你要有苹果开发人员账号,我用的是个人账号.其次xcode为xcode 7,因为xcode 7须要 os x 系统 10.11 或更高的版本号, 所以os x 系统也须要 10.11 或更高的版本 ...

  2. Silverlight RIA Servcie 删除子对象实体提交错误的问题[解决]

    Silverlight RIA Servcie 删除子对象实体提交错误的问题 下面实体结构 查询出自对象实体方法 修改mataclass类添加[Include]特性 修改domainservice查询 ...

  3. bugzilla使用_如何使用Bugzilla提交错误报告

    bugzilla使用 我花费大量时间进行我的书籍和Opensource.com文章的研究. 有时这会导致我发现我使用的软件中的错误,包括Fedora和Linux内核. 作为Linux的长期用户和sys ...

  4. 如何修复提交错误的Git分支?

    我刚刚对错误的分支做了很好的提交. 如何撤消我的主分支中的最后一次提交,然后进行相同的更改并将它们放入我的升级分支? #1楼 这个话题迟了4年,但这可能对某人有所帮助. 如果您在提交之前忘记创建新分支 ...

  5. iOS打包错误The operation couldn’t be completed. (AppThinning.StubError error 1.)

    1.iOS打包错误 iOS打包报错:The operation couldn't be completed. (AppThinning.StubError error 1.) 操作流程:archive ...

  6. iOS常见错误8-Missing iOS Distribution signing identity for “XXXXX”. Xcode can request one for you.

    iOS常见错误8-Missing iOS Distribution signing identity for "XXXXX". Xcode can request one for ...

  7. iOS经典错误library not found for -lXXX

    开发中经常会和ibrary not found for -xxx打交道,尤其是我们从远程仓库或者github clone下来一个项目,编译很有可能报这个错误.如下图: 报错信息 library not ...

  8. iOS 提交App store 正在等待审核,怎么重新上传

    问题: iOS  提交App store 正在等待审核,怎么重新上传? 解决办法: 首先找到如下图的:remove this version from review,然后点击进去. 点击remove ...

  9. uniapp ios提交失败,权限描述修改

    ios提交审核,驳回显示 We noticed that your app requests the user's consent to access the camera and photos, b ...

  10. 使用git bash的git push origin main或git push origin master提交错误

    使用git bash的git push origin main或git push origin master提交错误 首先我安装的是最新版本的git 下载Git 官方地址为:https://git-s ...

最新文章

  1. 计算机与操作系统简介
  2. 深复制VS浅复制(MemberwiseClone方法介绍)
  3. php二维数组排序 按照指定的key 对数组进行排序
  4. file数组 删除文件_java编程IO基础之一:File类
  5. 计算机网络之物理层:2、码元、速率、带宽、波特
  6. Linux的概念与体系 7. Linux进程基础(转载)
  7. 谁与争锋,2020腾讯广告算法大赛初赛正式启动
  8. java线程 锁_Java多线程(二) 多线程的锁机制
  9. IP地址(IPv4)
  10. 阿里编程规范(精简版)
  11. mapbox创建空白底图
  12. php微信公众号报修系统,微信公众号如何实现在线报修系统?
  13. mixamo_Mixamo的动画商店插件现在支持Mecanim!
  14. 【开发者平台汇总】-各大平台开发者及开放平台集锦
  15. 时下最火的网络视频编码器传输技术
  16. python处理adb截屏_《自拍教程38》Python adb一键截屏
  17. 水准路线平差c语言程序,水准网平差程序的设计与实现
  18. SDL开发笔记(三):使用SDL渲染窗口颜色和图片
  19. 开发企业架构的实用指南
  20. 第一次写“辅助”软件(微信游戏跳一跳)

热门文章

  1. 2022微信企业邮箱登录入口介绍,企业微信企业邮箱怎么开通注册?
  2. setPositiveButton,setNegativeButton,setNeutralButton各代表什么意思
  3. 四、神奇的自然常数e之“自然”初现
  4. linux nfs acl 特定ip,Linux NFS配置
  5. 分别编写计算球的表面积和体积的函数area和volume。在主函数中输入球的半径,分别调用函数area和volume计算并输出球的表面积和体积。
  6. FPGA(一):用Verilog实现流水灯
  7. Unity2019学习:常用功能--Unity UI的交互游戏对象
  8. 各种UML图的应用场景
  9. P1567 统计天数【入门】
  10. EasyMicroPlot: 一种快速进行微生物下游分析的整合R包