CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop
iOS native interop library not loaded
- Dominant language
- C#
- Stars
- 249
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
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
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios, swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100