the issue is Xamarin (macOS app) is retired and not supported by .net 8. So you need to pick a migration path.
While you could upgrade to Maui, it only supports Mac Catalyst apps. Also with Maui there is no built in support for using storyboard, but it can be done. If you used Xamarin forms, and not storyboard, and can live with the Mac Catalyst limitations, this might a good path. You will need to pick a new development tool, Visual Studio Code, JetBrains Rider or Parallels hosting Windows and Visual Studio.
https://learn.microsoft.com/en-us/dotnet/maui/get-started/installation?view=net-maui-8.0&tabs=vsmac
If you used storyboard, you might just want to migrate to Swift.