uno: [MacCatalyst] [Release] Inconsistent Behavior Between Debug and Release Builds
Current behavior
We have encountered an issue with our Uno Platform application targeting Mac Catalyst, where the application behaves differently in the Release package compared to Debug Which makes the app unusable.
Primary Issue: Data Display Failure in FeedView Issue happens after a simple login (works as expected), when navigating to the Home page where we have a FeedView containing an ItemsRepeater but none is displayed
Secondary Issue: XAML Navigation Failure on Button Press On the same Home page, attempt to use XAML-based navigation by pressing a button designed for this purpose. In the Release build, pressing the navigation button results in no action, contrary to the expected navigation behavior.
This functionalities works as intended in the Debug build.
Currently targeting to .net8
Expected behavior
The ItemsRepeater should dynamically load and display the data, with appropriate handling for None, Progress, or Error states through their respective templates and Button should navigte to the correct page.
How to reproduce it (as minimally and precisely as possible)
We wont be able to provide a repro project on this case as the issue is only ocurring on the app installed by the release package
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
<PackageVersion Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageVersion Include="Geolocation" Version="1.2.1" />
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.2428" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.4.231219000" />
<PackageVersion Include="Uno.Core.Extensions.Logging.Singleton" Version="4.0.1" />
<PackageVersion Include="Uno.Extensions.Authentication" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Authentication.WinUI" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Configuration" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Hosting" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Hosting.WinUI" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Http" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Http.WinUI" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Http.Refit" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Localization" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Localization.WinUI" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Logging.OSLog" Version="1.7.0" />
<PackageVersion Include="Uno.Extensions.Logging.WinUI" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Navigation" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Navigation.WinUI" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Navigation.Toolkit.WinUI" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Reactive" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Reactive.WinUI" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Serialization" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Serialization.Http" Version="4.0.0" />
<PackageVersion Include="Uno.Extensions.Serialization.Refit" Version="4.0.0" />
<PackageVersion Include="Uno.Material.WinUI" Version="4.1.1" />
<PackageVersion Include="Uno.Dsp.Tasks" Version="1.2.8" />
<PackageVersion Include="Uno.Toolkit.WinUI" Version="5.1.5" />
<PackageVersion Include="Uno.Toolkit.WinUI.Material" Version="5.1.5" />
<PackageVersion Include="Uno.Resizetizer" Version="1.2.1" />
<PackageVersion Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="5.1.50" />
<PackageVersion Include="Uno.UniversalImageLoader" Version="1.9.36" />
<PackageVersion Include="Uno.WinUI" Version="5.1.50" />
<PackageVersion Include="Uno.WinUI.Lottie" Version="5.1.50"/>
<PackageVersion Include="Uno.WinUI.RemoteControl" Version="5.1.50" />
<PackageVersion Include="Xamarin.Google.Android.Material" Version="1.9.0.2" />
<PackageVersion Include="Mapsui.Uno.WinUI" Version="4.1.2" />
<PackageVersion Include="Uno.Extensions.Reactive.Messaging" Version="2.5.11" />
<PackageVersion Include="Uno.WinUI.Svg" Version="5.0.41" />
<PackageVersion Include="SkiaSharp.Views.Uno" Version="2.88.6" />
Affected platforms
Mac Catalyst
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
Please let me know if I can provide any other info I missed
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 26 (12 by maintainers)
That last one worked! Thanks
Thanks. I made a typo telling you to add the target, can you add it to your
Guidl_CMS.csprojproject instead?Thanks, can you provide the binlog of that build?
Thanks for the report. In general, the main difference in behavior is caused by the linker. Try disabling the linker and see if the behavior is different. You will also see a lot of information in the app’s logs.