Repository navigation
Description
Current Bugs?
Runtime Comparisons
| Runtime | Publish Size 1 | Startup Times (s) 2 |
|---|---|---|
| Uno.Sdk 6.5.0-dev.126 + MonoVM 345 + unoplatform/uno.chefs@dac70319 | 143781517 137M |
0.764 |
| Uno.Sdk 6.5.0-dev.126 + NativeAOT 645 + unoplatform/uno.chefs@dac70319 | 126968627 121M |
0.424 |
| Uno.Sdk 6.5.0-dev.126 + CoreCLR 745 + unoplatform/uno.chefs@dac70319 | Not yet supported | Not yet supported |
Footnotes
-
Size as reported by:
ls -l Chefs/bin/Release/net10.0-ios/ios-arm64/publish/Chefs.ipa↩ -
Apply the following patch:
diff --git a/Chefs/App.xaml.cs b/Chefs/App.xaml.cs index 00e463ca..913c5c60 100644 --- a/Chefs/App.xaml.cs +++ b/Chefs/App.xaml.cs @@ -48,6 +48,8 @@ public partial class App : Application Host = await builder.NavigateAsync<ShellControl>(); Shell = MainWindow.Content as ShellControl; + this.Log().LogWarning("# jonp: App Started"); + if (_exitAfterLaunching) { Exit();After building and installing, launch Console.app, select your target device in the Sources panel, then click the
▶️ Start button in the toolbar.Launch the app on the target device.
Once the app has launched, filter Console.app output by
Process:Chefs, look for the first message containing# jonp: App Started, record it's time, and from that time subtract the time of the first message from theChefsapp. ↩ -
MonoVM Build command
↩dotnet publish -c Release -r ios-arm64 -f net10.0-ios -p:TargetFrameworkOverride=net10.0-ios \ -bl Chefs/Chefs.csproj -p:UseSkiaRendering=true \ -p:_DeviceName=UDID "-p:CodesignKey=CODESIGN_KEY" -
UDIDfrom: https://learn.microsoft.com/en-us/dotnet/maui/ios/cli?view=net-maui-10.0#launch-the-app-on-a-device ↩ ↩2 ↩3 -
CODESIGN_KEYfrom: https://learn.microsoft.com/en-us/dotnet/maui/ios/deployment/publish-cli?view=net-maui-10.0 ↩ ↩2 ↩3 -
NativeAOT Build command: https://learn.microsoft.com/en-us/dotnet/maui/deployment/nativeaot?view=net-maui-10.0#publish-using-native-aot
Apply the patch:
diff --git a/Chefs/Chefs.csproj b/Chefs/Chefs.csproj index 2d27ec89..1a503d95 100644 --- a/Chefs/Chefs.csproj +++ b/Chefs/Chefs.csproj @@ -25,6 +25,10 @@ <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> <ApplicationVersion>1</ApplicationVersion> <UseMocks Condition="'$(UseMocks)'==''">true</UseMocks> + <IsAotCompatible>true</IsAotCompatible> + <PublishAot Condition=" '$(SkiaPublishAot)' == 'true' And $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">true</PublishAot> + <PublishAot Condition=" '$(SkiaPublishAot)' == 'true' And $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">true</PublishAot> + <PublishAot Condition=" '$(PublishAot)' == '' And '$(SkiaPublishAot)' != '' ">$(SkiaPublishAot)</PublishAot> <!-- If you encounter this error message:Build:
↩dotnet publish -c Release -r ios-arm64 -f net10.0-ios -p:TargetFrameworkOverride=net10.0-ios \ -bl Chefs/Chefs.csproj -p:UseSkiaRendering=true -p:SkiaPublishAot=true \ -p:_DeviceName=UDID "-p:CodesignKey=CODESIGN_KEY" -
CoreCLR Build command
dotnet publish -c Release -r osx-x64 -f net10.0-desktop -p:TargetFrameworkOverride=net10.0-desktop \ -p:UseMonoRuntime=false \ -bl Chefs/Chefs.csproj -p:SelfContained=true -p:UseSkiaRendering=trueWhich promptly fails to build:
↩Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(544,5): error NETSDK1082: There was no runtime pack for Microsoft.NETCore.App available for the specified RuntimeIdentifier 'ios-arm64'.
Activity
[-]Native AOT support for iOS[/-][+][AOT] Native AOT support for iOS[/+]jonpryor commentedon Jan 21, 2026
2026-01-21 State of Affairs
Starting with unoplatform/uno.chefs@dac7031 and the following patch applied:
Build for NativeAOT:
Install by:
open Chefs/bin/Release/net10.0-ios/ios-arm64/publish.ipafile from the output folder (1) to the Installed Apps section.You can launch the app by tapping the app icon in the Home Screen.
While Uno.Chefs is able to build and run under NativeAOT with Uno.Sdk 6.5.0-dev.104, that doesn't mean it runs properly under NativeAOT.
Issues:
Login Screen isn't "normally" usable. Specifically:
Passwordfield cannot be selected by tapping on it. Tapping on thePasswordfield selects theUsernamefield.Passwordfield to be selected by tapping Next on the keyboard when theUsernamefield is selected.[ ] Remember mecheckbox.#22372 fixes the above issues.
After logging in, tap the "Profile" button in the top. From the Profile page, the +Create Recipe button does nothing.
However, this also happens with the MonoVM build! Probably because it doesn't have a
Commandattribute binding? https://github.com/unoplatform/uno.chefs/blob/53030d9fd54623c13de370afca9213a7921021de/Chefs/Views/ProfilePage.xaml#L42-L53chore: iOS support for Native AOT
chore: iOS support for Native AOT (#1725)
github-actions commentedon Apr 30, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.