CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop
Unable to bind frameworks that contain bundles
- Lenguaje dominante
- C#
- Estrellas
- 249
- Forks
- 48
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza con la plantilla NewBinding y la rama de ejemplo vinculada, siguiendo las llamadas a Usercentrics realizadas desde GetString. Reproduce el fallo en UsercentricsUI/ResourceLoader.swift:28 e inspecciona cómo la compilación del binding gestiona los framework bundles; se considera terminado cuando los métodos de UI cargan su bundle en tiempo de ejecución sin el fatal error.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, ios, swift
- Área
- build-system, mobile
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 28/100