Maui .Net 8 XCode 15.1 and 15.2 NativeAOT Error in Testflight

Grant Schaffer 25 Reputation points
2024-04-19T16:55:14.02+00:00

Hello,

I have an Maui app built with XCode 15.2 and .Net 8.

I am using Microsoft.EntityFrameworkCore.Sql V8.0.4

When I install it on my iPad with test flight I get:

Model binding is not supported when publishing with NativeAOT. Use a compiled model.

I have also tried using xcode 15.1 with the same results.

What am I doing wrong?

Thanks in advance.

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
717 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,134 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful