Replies: 2 comments 3 replies
-
It's unclear to me what you actually want to compile. A .NET MAUI app on iOS or .NET MAUI itself from source code? |
Beta Was this translation helpful? Give feedback.
-
@MartyIX -- I have a .net 9 MAUI app, I have to build, debug and deploy iOS in VSCode. However I cannot find the right combination of XCode, Nugets, .net version, workloads to get the application to debug. I have googled and googled but could not find anything. I finally uninstalled XCode, VScode, and .net. I reinstalled everything and now the app builds and runs with no errors with the following. One thing I did different, is I installed .net 8 and .net 9. I am still not sur what was going on. Previously I was getting an error when debugging that stated: SetFocusOnEntryCompletedBehavior was not found in the maui toolkit. However, the app does build, does deploy but immediately crashes. Android works perfectly. It always seems to be a battle with iOS. The first error I can see is: ***Terminating app due to uncaught exception 'Microsoft.Maui.Controls.Xaml.XamlParseException', reason: 'Position 11:8. STaticResource not found for key LIghtGrayOpaqueDarkTheme (Microsoft.Maui.Controls.Xaml.XamlParseException). But this does not happen on Android and LIghtGrayOpaqueDarkTheme is definitely in the resource dictionary. XCode: 16.3 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have beyond frustrated, I have been trying to build iOS in VSCode on my MAC
According to this: https://github.com/dotnet/maui/wiki/Release-Versions
The current version is .net version is [9.0.40 (SR 4.0)] and the correct SDK is 9.0.100
I downloaded the following .net SDK: SDK 9.0.100-rc.2
I added the .NET MAUI Extension is VSCode: 1.9.21
XCODE: 16.1
MAUI WorkLoad: SDK 9.0.100 -rc.2
The above configuration I get that I need to download a different adroid sdk. But I dont care about Anroid, I am trying to buidl IOS.
If I go above the .net SDK 9.0.100 then I get an error stating that SetFocusOnEntryCompletedBehavior is not in the toolkit manifest.
I have tried every combination of .net, MAUI controls, MAUI Extentions...nothing seems to work. I have spent two days on this and I am at a loss at how to get this to work and I cannot find any documentation stating exactly what I need to get this to work. If anybody can help it would be much appreciated
Beta Was this translation helpful? Give feedback.
All reactions