Development Environment and Platform #19459
Replies: 1 comment
-
Thanks for the report! You can develop on iOS and Android on a mac, and we have updates coming in an Uno 5.6 Service Release that will enhance the experience on iOS specifically. About the
This is indeed a warning that is reported by the IDE, that we did not catch in recent builds, we'll make changes to have it go away.
This is a warning that you can ignore, but we'll take a look at removing those. |
Beta Was this translation helpful? Give feedback.
-
I am working on macOS using JetBrains Rider and VS Code. Whenever I create a project for Windows, Android, macOS, and iOS, both Rider and VS Code show many errors, which – presumably – are not actual errors because when I run the individual projects, they work fine.
Additionally, HotReload only works for WebAssembly.
If I configure a project only for iOS, WebAssembly, and macOS, there are no errors when starting, and only rarely do Rider or VS Code display errors that are not real.
Is it the case that I need different hardware to develop for Windows? Or should projects that include Windows as a platform not be developed on macOS?
Does HotReload not work under iOS and macOS, or how can I fix this issue?
My Hardware:
Mac Studio M2, 64 GB RAM, latest macOS version
Warnings and Errors
When starting the desktop app, I get the following warnings multiple times:
Test.csproj: [NU1603] Uno.UI.HotDesign 1.3.1 depends on Uno.WinUI.DevServer.Messaging (>= 5.6.22) but Uno.WinUI.DevServer.Messaging 5.6.22 was not found. Uno.WinUI.DevServer.Messaging 5.6.27 was resolved instead.
EmbeddedControl.xaml(35, 7): [XC0022] Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information.
On Android, I get the following errors multiple times:
Test.csproj: [NU1603] Uno.UI.HotDesign 1.3.1 depends on Uno.WinUI.DevServer.Messaging (>= 5.6.22) but Uno.WinUI.DevServer.Messaging 5.6.22 was not found. Uno.WinUI.DevServer.Messaging 5.6.27 was resolved instead.
EmbeddedControl.xaml(14, 7): [XC0022] Binding could be compiled to improve runtime performance if x:DataType is specified. See https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings for more information.
On iOS, I receive the following messages/errors:
2025-02-06 09:22:36.800029+0100 Test[14983:172727] GSFont: "Roboto-Medium" already exists.
2025-02-06 09:22:36.800207+0100 Test[14983:172727] GSFontRegisterCGFont(<CGFont (0x600002d49700): Roboto-Medium>) failed 305
2025-02-06 09:22:36.919133+0100 Test[14983:172727] GSFont: "Roboto-Regular" already exists.
2025-02-06 09:22:36.919292+0100 Test[14983:172727] GSFontRegisterCGFont(<CGFont (0x600002d54e80): Roboto-Regular>) failed 305
When starting WebAssembly, there are no errors, and HotReload works (as the only case).
Configuration Used:
dotnet new unoapp -o Test -preset "recommended" -maui -presentation "mvvm" -id "com.jobbots24.Test" -pub "Test"
The test app is always launched at the end, and uno-check reports:
✔ Congratulations, everything looks great!
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions