久々のiPhoneアプリ申請でまたつまづいたよメモ。
アプリの申請をしようよしたら下記のエラーがでました。
iPad Multitasking、そういえばそんなもの出ましたね。
ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait' in bundle 'xxx.xxx.xxx'."
ERROR ITMS-90475: "Invalid Bundle. iPad Multitasking support requires launch story board in bundle 'xxx.xxx.xxx'."
はい、おっしゃる通り古くから運用してる割にはサボってるアプリなのでDevice OrientationはPortraitしか対応してないし、Launch Screen Fileは作ってすらいません。
対応方法は2つ。サボるか頑張るか。
サボる方法
問答無用でRequires full screenにチェックします。
ただし、これをするとせっかくiOS9のiPadでできるマルチタスキング機能(Slide OverとかSplit View)が使えなくなってしまうようです。
頑張る方法
素直にエラーの通りに対応すればいける模様。
まずITMS-90474エラーはDevice Orientationは4つ全ての方向にチェックすればOK。
もちろん今までLandscapeとかに対応してなければレイアウトとかの対応もちゃんとする必要があります。
次のITMS-90475エラーはLaunch Screen Fileを新規作成すればOK。
「FIle」->「New」->「File...」->「iOS」->「User Interface」->「Launch Screen」から作成できるので、これを「Project」->「General」->「Launch Screen File」で設定します。
結果
気になって調べてたら対応できてしまったので頑張る方法でそのまま審査に出しました!
iPad Multitaskingで使う人はまだ少ないと思いますが、動くとけっこう嬉しいものですね:-)



