uno.extensions icon indicating copy to clipboard operation
uno.extensions copied to clipboard

[iOS] [MAUI] System.Exception: 'No class inheriting from a valid Application Delegate found...'

Open jp-weber opened this issue 1 year ago • 0 comments

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)

  1. Download sample app: https://github.com/unoplatform/uno.extensions/tree/main/samples/MauiEmbedding
  2. Start the VS project and debug on iOS device.
  3. Start app on device
  4. 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: )

jp-weber avatar Jan 01 '24 18:01 jp-weber