CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

iOS native interop library not loaded

Ouverte
#100 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
249
Forks
48
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I'm trying to integrate an ios sdk in MAUI app. In this case the sdk that i want to use is https://github.com/stripe/stripe-terminal-ios.

## Steps i followed
- clone this repo
- open .xcodeproj and add the sdk, import the sdk from the xcode package manager
- add the `import StripeTerminal` in my .swift file
- compile the sample app

The compilation of the app causes no error but then i get a
```shell
Library not loaded: @rpath/StripeTerminal.framework/StripeTerminal
```
And the app crashes instantaneusly

Here is my code:
https://github.com/mattiaferrari02/maui-stripe-terminal-ios

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reproducing the crash in the sample app and inspect the .xcodeproj, the Swift file containing the StripeTerminal import, and the native SDK integration steps. Check when the StripeTerminal.framework becomes unavailable at runtime; done means the sample app launches without the Library not loaded error.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp, ios, swift
Domaine
mobile-dev
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.