System.Exception: Could not initialize an instance of the type 'UIKit.UIImage': the native 'initWithContentsOfFile:' method returned nil.
It is possible to ignore this condition by setting MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false.
at Foundation.NSObject.InitializeHandle (IntPtr handle, System.String initSelector) [0x00094] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/Foundation/NSObject2.cs:453
at UIKit.UIImage..ctor (System.String filename) [0x0002e] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/build/ios/native/UIKit/UIImage.g.cs:94
at Xamarin.Forms.Platform.iOS.TabbedRenderer.SetupPage (Xamarin.Forms.Page page, Int32 index) [0x0003f] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.Reset () [0x0001c] in :0
at Xamarin.Forms.NotifyCollectionChangedEventArgsExtensions.Apply (System.Collections.Specialized.NotifyCollectionChangedEventArgs self, System.Action3 insert, System.Action
2 removeAt, System.Action reset) [0x001dd] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.OnPagesChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.TabbedRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00063] in :0
at Xamarin.Forms.Platform.iOS.RendererFactory.GetRenderer (Xamarin.Forms.VisualElement view) [0x0001c] in :0
at Xamarin.Forms.Platform.iOS.Platform.AddChild (Xamarin.Forms.VisualElement view) [0x00027] in :0
at Xamarin.Forms.Platform.iOS.Platform.WillAppear () [0x0003c] in :0
at Xamarin.Forms.Platform.iOS.PlatformRenderer.ViewWillAppear (Boolean animated) [0x00016] in :0
at at (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSend (intptr,intptr)
at UIKit.UIWindow.MakeKeyAndVisible () [0x00010] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/build/ios/native/UIKit/UIWindow.g.cs:250
at Xamarin.Forms.Platform.iOS.FormsApplicationDelegate.SetMainPage () [0x00028] in :0
at Xamarin.Forms.Platform.iOS.FormsApplicationDelegate.FinishedLaunching (UIKit.UIApplication uiApplication, Foundation.NSDictionary launchOptions) [0x00028] in :0
at iRave.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication app, Foundation.NSDictionary options) [0x00014] in /Users/Sam/Projects/iRave/iOS/AppDelegate.cs:20
at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/UIKit/UIApplication.cs:77
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/2377/73229919/source/maccore/src/UIKit/UIApplication.cs:61
at iRave.iOS.Application.Main (System.String[] args) [0x00012] in /Users/Sam/Projects/iRave/iOS/Main.cs:17
↧
Any way to get around this error?? Its for a tabbed listView cross-platform app.
↧