エラー発生
突然、Validate時にこんなエラーが出るようになった。
Missing required icon file. The bundle does not contain an app icon for iPad
of exactly '72x72' pixels, in .png format for iOS versions < 5.0.
もちろんDistributeでも同様のエラーが出る。
先週まではなんともなかったのに!(今日は2014/1/23)
原因と対策
General
- App Icons
でアイコンを登録してもiOS5以前用の設定が行われないようなので手動で設定を行う。
設定
Info.plistにKeyを追加する。
- Universalアプリの場合
Icon files Array
Item 0 String icon72
Item 1 String icon57
- iPhone専用アプリの場合(未検証)
Icon file String icon57
- iPad専用アプリの場合(未検証)
Icon file String icon72
.xmlだとこんな感じ。
<key>CFBundleIconFiles</key>
<array>
<string>icon72</string>
<string>icon57</string>
</array>
<key>CFBundleIconFile</key>
<string>icon57</string>
<key>CFBundleIconFile</key>
<string>icon72</string>
補足
- お約束の名前(Icon-72.pngなど)の場合は追加設定しなくても大丈夫っぽい?
-
Deployment Target
が5.0以上のアプリには関係ありません。