CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

iOS native interop library not loaded

未关闭
#100 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
249
派生
48
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先在示例应用中重现崩溃,并检查 .xcodeproj、包含 StripeTerminal import 的 Swift 文件以及原生 SDK 集成步骤。确认 StripeTerminal.framework 何时在运行时变得不可用;当示例应用能够在没有 Library not loaded 错误的情况下启动时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp, ios, swift
领域
mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。