uno.extensions
uno.extensions copied to clipboard
[iOS] [MAUI] System.Exception: 'No class inheriting from a valid Application Delegate found...'
Current behavior
I am currently unable to use Hot restart to deploy and start an iOS app that uses MAUI embedding.
System.Exception: 'No class inheriting from a valid Application Delegate found in /var/mobile/Containers/Data/Application/D75C8C78-C2D2-4942-B1CE-000D0DBFA821/Documents/MauiEmbedding.Mobile.content/MauiEmbedding.Mobile.dll'
Expected behavior
The app should deploy and launch like on Android.
How to reproduce it (as minimally and precisely as possible)
- Download sample app: https://github.com/unoplatform/uno.extensions/tree/main/samples/MauiEmbedding
- Start the VS project and debug on iOS device.
- Start app on device
- crash
Environment
Nuget Package (s):
Package Version(s):
Affected platform(s):
- [x] iOS 17.2.1
- [ ] macOS (AppKit)
- [ ] Mac Catalyst
- [ ] Android
- [ ] WebAssembly
- [ ] Windows
- [ ] Skia (WPF)
- [ ] Skia (GTK on Linux/macOS/Windows)
- [ ] Skia (Linux Framebuffer)
- [ ] Build tasks
Visual Studio:
- [ ] 2019 (version: )
- [X] 2022 (version: 17.8.3)
- [ ] Visual Studio Code (version: )
- [ ] Rider Windows (version: )
- [ ] Rider macOS (version: )
Relevant plugins:
- [ ] Resharper (version: )