Post

Replies

Boosts

Views

Activity

Could not create an native instance of the type ...
Hi Trying to deploy my first MAUI app to a physical iPhone device in Debug mode from Visual Studio on a pc. Pc is paired with a Mac. I am getting below error. How can I fix this? Thanks Regards [0:] An error occurred: 'Could not create an native instance of the type 'DevExpress.iOS.Editors.DXTextEdit': the native class hasn't been loaded. It is possible to ignore this condition by setting ObjCRuntime.Class.ThrowOnInitFailure to false.'. Callstack: ' at Foundation.NSObject.InitializeObject(Boolean alloced) at Foundation.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.Internal.TextEditHandler.CreateNativeView() at DevExpress.Maui.Core.iOS.Internal.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.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) 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.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) 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.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) 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.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler) at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, 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) ...
0
0
481
Sep ’23
Could not find any available provisioning profiles
Hi I need to deploy my Xamarin Forms app to Flight Test. In Visual Studio for mac when I select 'iOS Bundle Signing' and select 'Distribution: ...' I don't get the option to select 'Provisioning Profile' and as a result project stops build with error: 'Error: Could not find any available provisioning profiles for MyApp.iOS on iOS. (MyApp.iOS)'. I have setup a provisioning profile in my company's developer account but for some reason it is not being picked up. I am logged in as my account and not as the main company (admin) account. What is the issue here and how can I successfully get a provisioning profile to get the application built and deployed to Flight Test?
0
0
909
Nov ’21