CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

Unable to bind frameworks that contain bundles

Aperta
#36 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
documentation
Lingua principale
C#
Stelle
249
Fork
48
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.