Optimize MAUI app performance for iOS
dotnet-maui-aotskillsetup L3★2
rudironsoni/Synaxis ↗What it does
Optimize .NET MAUI apps for iOS/Catalyst using Native AOT compilation
Best for
Mobile performance when app size and startup time reductions (up to 50%) justify AOT setup.
Inputs
- · MAUI project.csproj
- · target iOS/Catalyst version
Outputs
- · optimized RuntimeIdentifiers and PublishProfile
- · trimming config (RD.xml)
- · size/startup benchmark deltas
Requires
- · dotnet cli (.NET 8+)
- · xcode build system
- · ILLinker
Preconditions
.NET 8.0+ MAUI project; iOS 14+ or Catalyst target
Failure modes
Library compatibility gaps (reflection-heavy libraries fail trimming); device testing incomplete
Trust signals
- · 50% size/startup improvement measured
- · Library opt-out mechanisms documented