Bug 13999 - Splash Screen throws NSInternalInconsistency Exception in VS
Summary: Splash Screen throws NSInternalInconsistency Exception in VS
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Debugger ()
Version: 1.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Vinicius Jarina
Depends on:
Reported: 2013-08-15 08:41 UTC by Allie Miller
Modified: 2016-05-10 17:05 UTC (History)
7 users (show)

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

Test case from Case #43859 (993.04 KB, application/zip)
2013-08-15 08:41 UTC, Allie Miller

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 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 Allie Miller 2013-08-15 08:41:52 UTC
Created attachment 4641 [details]
Test case from Case #43859

After creating a Class Library project with a Splash screen (1 ViewController and 2 XIB files) in it, there is an iPhone client application project that references this Class Library project and tries to create and show the Splash screen during a long application initialization. However, showing the splash throws the following error message:
Unhandled managed exception: Objective-C exception thrown. Name:
NSInternalInconsistencyException Reason: Could not load NIB in bundle:
'NSBundle </Users/pdadeveloper/Library/Application Support/iPhone
(loaded)' with name 'SplashViewController_iPhone'

Tthis exception is thrown only when debugging from Visual Studio 2010. When debugging from Xamarin Studion on Mac, the code executes fine and the splash screen works as intended.

Test Project attached

Versioning information:
From Xamarin Studio on Mac: 
XS: 4.0.12
X.A.: 4.8.1
X.I: (Business Edition), Hash: 5a0fe54

From Visual Studio:
Xamarin.iOS: 1.3.250 (49348a51)
Comment 3 Vinicius Jarina 2013-10-09 22:40:46 UTC
Tested with latest version, working fine. 

Please test with 1.6 and let me know if did work for you.