Bug 34951 - Getting exception on running the attached Xamarin.iOS sample.
Summary: Getting exception on running the attached Xamarin.iOS sample.
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: XI 9.2
Hardware: PC Mac OS
: High major
Target Milestone: 9.2 (C6)
Assignee: Rustam Zaitov
Depends on:
Reported: 2015-10-16 13:03 UTC by Rajneesh Kumar
Modified: 2015-11-16 15:55 UTC (History)
4 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:

Comment 1 PJ 2015-10-16 13:16:08 UTC
This was one of the expected required changes for the iOS 9 release. It was also reported as https://bugzilla.xamarin.com/show_bug.cgi?id=34009 at the time for the affected samples.

To recap: 

> [Upstream change] [iOS] iOS 9 has stricter requirements for setting a RootViewController. "Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Application windows are expected to have a root view controller at the end of application launch". Possible workaround: Set the Window.RootViewController property in the AppDelegate.FinishedLaunching() method. (See the troubleshooting guide for additional details.)

Source: http://forums.xamarin.com/discussion/50971/stable-release-xamarin-ios-9-0-ios-9-0-upstream-release/p1
Comment 2 GouriKumari 2015-11-16 15:55:33 UTC
Based on comment#1, I am closing this bug.