CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

Unable to bind frameworks that contain bundles

Offen
#36 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
documentation
Vorherrschende Sprache
C#
Sterne
249
Forks
48
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi, I'm trying to create a binding library for the [Usercentrics](https://usercentrics.com) framework. The binding for the Usercentrics Core framework works as expected. The binding for the UsercentricsUI framework crashes at runtime when calling any UI related method.
`UsercentricsUI/ResourceLoader.swift:28: Fatal error: [USERCENTRICS] Cannot load bundle`

I have uploaded a [sample branch](https://github.com/MerlinTHS/UsercentricsIOSBinding) with minimal adjustments (calling Usercentrics methods in `GetString`) to the NewBinding template.
Is there a BuildAction to include bundles at runtime?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.