-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maui iOS Release Build throws XamlParseException #167
Comments
Could you provide a code snippet with your XAML? |
yes sure
`
|
The error details that "Property" doesn't exist, or there is a mismatching type between what it expects, and the value given. The only place I found use of this is in the Where it says It may also be possible that in the line Have you tried deleting parts of your XAML to identify where the error comes from? It is useful to build projects in debug first so you get more detailed errors if they occur, then do a release build when you know everything should work. If you did already do this, did this issue come up only when you build in release mode? |
ok let me check the setter property lines crash happens only when build the project in the release mode |
How about removing other parts of the XAML and building in release when testing it? |
Describe the bug
Showing normal XCalendar Events Calendar with navigation view as shown in the sample in my app's home page
I am trying to share the ios release build to testers, when opening the appication, app throws xaml parse exception
Issue Title
Microsoft.Maui.Controls.Xaml.CreateValuesVisitor.Visit(ElementNode node, INode parentNode)
Microsoft.Maui.Controls.Xaml.XamlParseException: Position 48:33. Cannot assign property "Property": Property does not exist, or is not assignable, or mismatching type between value and property
Stacktrace
Microsoft.Maui.Controls.Xaml.CreateValuesVisitor.Visit(ElementNode node, INode parentNode)
Microsoft.Maui.Controls.Xaml.ElementNode.Accept(IXamlNodeVisitor visitor, INode parentNode)
Microsoft.Maui.Controls.Xaml.ElementNode.Accept(IXamlNodeVisitor visitor, INode parentNode)
Microsoft.Maui.Controls.Xaml.RootNode.Accept(IXamlNodeVisitor visitor, INode parentNode)
Microsoft.Maui.Controls.Xaml.XamlLoader.Visit(RootNode rootnode, HydrationContext visitorContext, Boolean useDesignProperties)
Microsoft.Maui.Controls.Xaml.XamlLoader.Load(Object view, String xaml, Assembly rootAssembly, Boolean useDesignProperties)
Microsoft.Maui.Controls.Xaml.XamlLoader.Load(Object view, String xaml, Boolean useDesignProperties)
Microsoft.Maui.Controls.Xaml.XamlLoader.Load(Object view, Type callingType)
Microsoft.Maui.Controls.Xaml.Extensions.LoadFromXaml[CalendarView](CalendarView view, Type callingType)
XCalendar.Maui.Views.CalendarView.InitializeComponent()
XCalendar.Maui.Views.CalendarView..ctor()
WccMobileApp.Views.HomePage.InitializeComponent()
WccMobileApp.Views.HomePage..ctor()
WccMobileApp.MainPage.InitializeComponent()
WccMobileApp.MainPage..ctor()
WhiteCup.Views.LoginPage.OnLoginClicked(Object sender, EventArgs e)
Expected behavior
Events Calendar must be shown in the home page without any crash
Steps to reproduce OR link to code
This crash is not happening in debug mode
only happens when i try to build the app in the release mode
Xamarin Forms or .NET MAUI (If related to UI)
.NET MAUI
Additional context (Optional)
Device Info (Optional)
Device Model: iPhone SE (3rd Generation)
IOS Version: 16.3
The text was updated successfully, but these errors were encountered: