Bug 8206 - Please add the option to remove/ignore iOS orientation warning
Summary: Please add the option to remove/ignore iOS orientation warning
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 3.0.x
Hardware: PC Mac OS
: --- enhancement
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-11-03 15:56 UTC by Bryan Moulton
Modified: 2013-01-15 10:15 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Bryan Moulton 2012-11-03 15:56:56 UTC
There is a compiler warning that shows (by default) when a project is built without both orientations in a pair are selected. This can be reproduced by creating a new project and building. The recommended setup is to remove the upside-down orientation (which is the case).

The warning is as follows
Warning: Supported iPhone orientations are not matched pairs

Please allow users to ignore this warning, or disable it entirely.
Comment 1 Jeffrey Stedfast 2012-11-07 12:57:31 UTC
It's just a warning, not a build error. Users can ignore it if they want to. It's there to be a helpful hint to a possible mistake and doesn't prevent them from shipping their app or anything.
Comment 2 BB 2012-11-13 19:16:34 UTC
It's totally unacceptable for a professional product to have an unavoidable warning!

Also this will affect almost ALL your users as it's the APPLE recommended setup to not support Portrait upside down (and it's the setup for your own "Hello, iPhone"  demo app!

The first task I do when considering a new tool is check i can make a 100% clean build. I almost rejected using Xamarin for our company on the basis of this warning and now you are saying you won't fix it!

It's not a helpful hint - its a very damaging hint. It will lead to people adding support for Portrait-Upside down and then getting their app rejected from the App Store!

Any professional programmer knows that "you treat warnings as errors". You can't just leave this warning in!
Comment 3 Jeffrey Stedfast 2012-11-14 11:43:11 UTC
I'm sorry, I didn't realize anyone cared so much about this warning.
Comment 4 Jeffrey Stedfast 2012-11-14 12:13:47 UTC
Fixed in git master, will be in 3.0.6
Comment 5 BB 2012-11-14 18:56:33 UTC
Thanks - you made my day :)
Comment 6 Jeffrey Stedfast 2012-11-14 19:16:15 UTC
FWIW, pointing out that not toggling UpsideDown when you have the right-side up portrait orientation being a perfectly valid configuration was the important piece of info that convinced me :-)

I had totally misunderstood and thought someone had only one of the landscape orientations selected.
Comment 7 Mikayla Hutchinson [MSFT] 2012-11-14 19:22:06 UTC
FWIW the warning was added several years ago to match Apple's original recommendations for iPhone, and was not updated when iPad came out and Apple's recommendations changed.
Comment 8 BB 2013-01-15 06:26:00 UTC
This has not been fixed in 3.0.6 as claimed. when will it be fixed??
Comment 9 Jeffrey Stedfast 2013-01-15 10:15:21 UTC
BB: it probably didn't make it into 3.0.6, but it should be in 3.1.1 (check the Beta channel)