以下の内容はhttps://kan-kikuchi.hatenablog.com/entry/Requires_full_screenより取得しました。


Invalid Bundle. iPad Multitasking support requires these orientationsというエラーが出た時の対処法【Unity】【iOS】




Unity 2021.3.4f1
Xcode Version 13.3.1


はじめに

今回はUnityでiOS用(Xcode)のプロジェクトをビルドし、

XcodeでArchiveしてアップロードしようとした時に

Invalid Bundle. iPad Multitasking support requires these orientations:
'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,
UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'.
Found 'UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationLandscapeLeft' in bundle


というエラーが出てアップロード出来ない場合の対処法です!


対処法

まず今回のエラーは

「iPadでマルチタスク機能を使うためには縦画面も横画面も対応してね」というものです。



なので両方向対応するか、マルチタスク機能に対応しなければいいのですが、

そもそもゲームで両方向対応するという事はなかなか無いと思うので、

今回はマルチタスク機能への対応を諦めます。


マルチタスク機能に対応しないようにするにはRequires full screenにチェックを入れるだけ。


ちなみにUnityではProject SettingsのPlayerの欄で設定出来ます。






以上の内容はhttps://kan-kikuchi.hatenablog.com/entry/Requires_full_screenより取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14