o1298098 / Xamarin-CloudMusic

Xamarin.Forms goodlooking UI sample
MIT License
267 stars 77 forks source link

Objective-C exception thrown. Name: NSInternalInconsistencyException #6

Closed firelamb closed 5 years ago

firelamb commented 5 years ago

sometimes will get the error: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Application windows are expected to have a root view controller at the end of application launch

o1298098 commented 5 years ago

remove

#if DEBUG
            if (!HotReloader.Current.IsRunning)
                HotReloader.Current.Start(this);
#endif

at App.xaml.cs ,should work

AndreiMisiukevich commented 5 years ago

HotReloader.Current.Run(this) with latest version