-
Notifications
You must be signed in to change notification settings - Fork 470
Description
Is there an existing issue for this?
- I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
Our MAUI project targets .NET 10 GA. We are currently using Community.Toolkit.MAUI version 9.0.3 . It works fine on iOS. When we upgrade the version to 13.0.0 (.NET 10 compatible as per the release notes of this version) app crashes on iOS with exception: error: Failed to load AOT module 'DotNetty.Buffers' while running in aot-only mode because a dependency cannot be found or it is out of date.
"
We use other packages like Microsoft.Azure.Devices, Microsoft.Azure.Devices.Client etc for communication with Azure.
It seems like the exception above coming from "DotNetty.Buffers" which is a transistive dependency of one of these 2 packages. Not sure why upgrading community.toolkit.MAUI to latest version causes crash due to these packages.
Expected Behavior
App should not crash on iOS with 13.0.0 version of community.toolkit.MAUI.
Steps To Reproduce
- Open the solution from reproduction reposity and run it on iOS device.
- Observe app crashing on launch.
Link to public reproduction project repository
https://github.com/Ratnapriya/SampleMCTCrash
Environment
- .NET MAUI CommunityToolkit: 13.0.0
- OS: iOS 18.0
- .NET MAUI:10.0.10Anything else?
No response