---
title: "ERROR ITMS-90022 ERROR ITMS-90096"
author: "maxer025"
date: "2018-03-22T14:15:26Z"
tags: []
categories: ["移动开发"]
slug: "error-itms-90022-error-itms-90096"
draft: false
lastmod: "2018-03-22T14:15:26Z"
id: 2414233
url: "https://maxer025.iteye.com/blog/2414233"
---

ERROR ITMS-90022: "Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0."这个问题从显示出的错误中我们看到项目中缺少了120x120的PNG格式图片，我的解决方法是在Assets.xcassets中添加120x120的图片。

solution: add file 120x120 to project to fix it.

ERROR ITMS-90096："You binary is not optimized for iPhone 5....".
在工程里的Images.xcassets添加并设置LaunchImage对解决ERROR ITMS-90096根本不会起到任何作用，需要单独添加针对iPhone5的载入图片。关键点有三项：1、图片的名称必须叫Default-568.png。2、必须把图片放在工程的根目录下。3、图片尺寸必须是320*568。
然后在plist中添

第二步、info.plist加入图片中的字段
（<key>UILaunchImages</key>
    <array>
        <dict>
            <key>UILaunchImageName</key>
            <string>Default-568</string>
            <key>UILaunchImageSize</key>
            <string>{320,568}</string>
        </dict>
    </array>
），把一张命名为Default-568.png的图片放工程目录下

第一步、把Launch Screen File清空   然后使用Launch Screen Source     在Launch里面加
640*960   (4/4s)                                 2X位置

640*1136  （5/5s/5c）                      R4位置

750*1334   （6）                               R4.7位置

1242*2208  （6 plus）                      R5.5位置

config.xml    app icon setting

icon size:   https://developer.apple.com/library/content/qa/qa1686/_index.html


http://blog.csdn.net/alincexiaohao/article/details/38725367