Skip to content
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

[MacCatalyst] Crash and errors on release build #15319

Closed
mcocaroUX opened this issue Feb 1, 2024 · 4 comments
Closed

[MacCatalyst] Crash and errors on release build #15319

mcocaroUX opened this issue Feb 1, 2024 · 4 comments
Labels
area/external Categorizes an issue or PR as being external to the Uno

Comments

@mcocaroUX
Copy link

mcocaroUX commented Feb 1, 2024

Current behavior

After generated a release package we noticed some errors and different behaviors from debug:

  • After we login all the API calls made by the app fails. This looks like is something related with the Auth extensions given that the flow after the login is straithg forward.

  • We also tested it on another device, but it won't even open the app. Here is the crash report
    CrashReport-2024-02-01-095547.zip

Currently the app runs without issues on Windows with the same version. Theres some platform specific code but no on the Init/Login of the app

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

Yes

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="7.0.0" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.756" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.3.230502000" />
<PackageVersion Include="Uno.Core.Extensions.Logging.Singleton" Version="4.0.1" />
<PackageVersion Include="Uno.Extensions.Authentication" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Authentication.WinUI" Version="3.0.11" />

<PackageVersion Include="Uno.Extensions.Configuration" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Hosting" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Hosting.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Http" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Http.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Http.Refit" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Localization" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Localization.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Logging.OSLog" Version="1.7.0" />
<PackageVersion Include="Uno.Extensions.Logging.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Navigation" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Navigation.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Navigation.Toolkit.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Reactive" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Reactive.WinUI" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Serialization" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Serialization.Http" Version="3.0.11" />
<PackageVersion Include="Uno.Extensions.Serialization.Refit" Version="3.0.11" />
<PackageVersion Include="Uno.Material.WinUI" Version="4.0.6" />
<PackageVersion Include="Uno.Dsp.Tasks" Version="1.2.8" />
<PackageVersion Include="Uno.Toolkit.WinUI" Version="5.0.19" />
<PackageVersion Include="Uno.Toolkit.WinUI.Material" Version="5.0.19" />
<PackageVersion Include="Uno.Resizetizer" Version="1.2.1" />

<PackageVersion Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="5.2.0-dev.24" />
<PackageVersion Include="Uno.UniversalImageLoader" Version="1.9.36" />
<PackageVersion Include="Uno.WinUI" Version="5.2.0-dev.24" />
<PackageVersion Include="Uno.WinUI.Lottie" Version="5.2.0-dev.24"/>
<PackageVersion Include="Uno.WinUI.RemoteControl" Version="5.2.0-dev.24" />
<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?

No response

@mcocaroUX mcocaroUX added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Feb 1, 2024
@jeromelaban
Copy link
Member

Thanks for the report. This is an .NET issue (xamarin/xamarin-macios#14686) that is supposed to be fixed in .NET 8. Are you currently running that version?

@jeromelaban jeromelaban added area/external Categorizes an issue or PR as being external to the Uno and removed kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Feb 1, 2024
@mcocaroUX
Copy link
Author

mcocaroUX commented Feb 1, 2024

@jeromelaban Thanks! We currently are on .NET 7

@jeromelaban
Copy link
Member

Thanks. Can you try an upgrade to .NET 8 and let us know if it helps?

@mcocaroUX
Copy link
Author

mcocaroUX commented Feb 8, 2024

@jeromelaban After updating to .net8 and changes on the build pipeline this issue are not ocurring anymore, but we are facing other problems. I'm closing this one as new bug doesn't seems to be related to this. Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/external Categorizes an issue or PR as being external to the Uno
Projects
None yet
Development

No branches or pull requests

2 participants