React Native — “Invalid Bundle. iPad Multitasking support requires these orientations - Fix!
If you have been building a React Native app for both iPhone and iPad you may have come across this issue before.
ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown' in bundle 'YOUR_BUNDLE_ID'."
This issue appears when you are archiving the app ready to be sent to the iOS app store. The reason this error appears is because of the multitasking feature on the iPad. If you only allow a couple of orientations you will need to make the app full screen as iPad Multitasking support requires all the orientations.
To do this is very easy! Open your Xcode project, then go to General > Deployment Info. You will then need to change the following tick box “Requires full screen” for both iPhone and iPad tabs.
After you have done this start and new archive and your all set! But don’t forget to change that build number as your not going to be able to upload the new build!