How do I initialize and start the .NET MAUI runtime from an iOS app (not intended for the App Store)? I'd like to do native hosting, as shown in this sample project, however, I'd like to do it in an iOS app. The objective is to package an entire MAUI app directly in a single iOS framework. My first problem is that I am not finding online an ios version of Microsoft.NETCore.App.Host, and specifically of libnethost.dylib. Has anyone tried this before?
Another reasoning is that dotnet build
is able to produce a binary (the main MAUI app binary) that runs on iOS. Would it be possible to gently ask it to produce a shared library instead?