I’m making an attempt to deploy my first MAUI app to a bodily iPhone machine in Debug mode. I’m doing it from Visible Studio on a computer. The computer is paired with a Mac.
I get beneath error. How can I repair this? The app runs high quality on iPhone simulator.
Thanks
Regards
[0:] An error occurred: 'Couldn't create an native occasion of the kind 'DevExpress.iOS.Editors.DXTextEdit': the native class hasn't been loaded.
It's potential to disregard this situation by setting ObjCRuntime.Class.ThrowOnInitFailure to false.'. Callstack: ' at Basis.NSObject.InitializeObject(Boolean alloced)
at Basis.NSObject..ctor(NSObjectFlag x)
at UIKit.UIResponder..ctor(NSObjectFlag t)
at UIKit.UIView..ctor(NSObjectFlag t)
at DevExpress.iOS.Editors.DXTextEditBase..ctor(NSObjectFlag t)
at DevExpress.iOS.Editors.DXTextEdit..ctor()
at DevExpress.Maui.Editors.Inside.TextEditHandler.CreateNativeView()
at DevExpress.Maui.Core.iOS.Inside.DXViewHandler`2[[DevExpress.Maui.Editors.TextEdit, DevExpress.Maui.Editors, Version=23.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a],[DevExpress.iOS.Editors.DXTextEdit, DevExpress.iOS.Editors, Version=23.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a]].CreatePlatformView()
at Microsoft.Maui.Handlers.ViewHandler`2[[DevExpress.Maui.Editors.TextEdit, DevExpress.Maui.Editors, Version=23.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a],[DevExpress.iOS.Editors.DXTextEdit, DevExpress.iOS.Editors, Version=23.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a]].OnCreatePlatformView()
at Microsoft.Maui.Handlers.ViewHandler.OnCreatePlatformElement()
at Microsoft.Maui.Handlers.ElementHandler.CreatePlatformElement()
at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view)
at Microsoft.Maui.Handlers.ViewHandler`2[[DevExpress.Maui.Editors.TextEdit, DevExpress.Maui.Editors, Version=23.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a],[DevExpress.iOS.Editors.DXTextEdit, DevExpress.iOS.Editors, Version=23.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a]].SetVirtualView(IView view)
at Microsoft.Maui.Handlers.ViewHandler`2[[DevExpress.Maui.Editors.TextEdit, DevExpress.Maui.Editors, Version=23.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a],[DevExpress.iOS.Editors.DXTextEdit, DevExpress.iOS.Editors, Version=23.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a]].SetVirtualView(IElement view)
at Microsoft.Maui.Controls.Component.SetHandler(IElementHandler newHandler)
at Microsoft.Maui.Controls.Component.set_Handler(IElementHandler worth)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler worth)
at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)
at Microsoft.Maui.Controls.Component.SetHandler(IElementHandler newHandler)
at Microsoft.Maui.Controls.Component.set_Handler(IElementHandler worth)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler worth)
at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
at Microsoft.Maui.Handlers.BorderHandler.UpdateContent(IBorderHandler handler)
at Microsoft.Maui.Handlers.BorderHandler.MapContent(IBorderHandler handler, IBorderView border)
at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IBorderHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v)
at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView)
at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view)
at Microsoft.Maui.Handlers.BorderHandler.SetVirtualView(IView view)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view)
at Microsoft.Maui.Controls.Component.SetHandler(IElementHandler newHandler)
at Microsoft.Maui.Controls.Component.set_Handler(IElementHandler worth)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler worth)
at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context)
at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context)
…
The app has been terminated.