Bug 37768 - Unexpected warning about Device Orientations not being set
Summary: Unexpected warning about Device Orientations not being set
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: XI 9.8 (tvOS / C7)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-01-18 12:18 UTC by Alan McGovern
Modified: 2016-01-21 10:07 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Alan McGovern 2016-01-18 12:18:59 UTC
Why am I being warned about iPad orientations when I have set all the orientations I care about and am able to set.

MSBuild error: /Users/alan/Projects/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Server/Info.plist: Warning: Supported iPad orientations have not been set (MonoTouch.Design.Server)

Full info.plist: https://gist.github.com/alanmcgovern/87c60ea1e6d12e98bed1

Options in XS: http://screencast.com/t/4yxXgv2AOh3p
Comment 1 Jeffrey Stedfast 2016-01-20 17:14:49 UTC
It's looking for UISupportedInterfaceOrientations~ipad, which you do not have set.
Comment 2 Jeffrey Stedfast 2016-01-20 17:20:29 UTC
I've made it fall back to checking the standard key when the ~ipad key doesn't exist.
Comment 3 Alan McGovern 2016-01-21 10:07:47 UTC
brilliant! Thanks! That's what'd happen at runtime too :)