Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyld[483]: Library not loaded: @rpath/ScanKitFrameWork.framework/ScanKitFrameWork #84

Open
wangchaohao123 opened this issue Feb 26, 2024 · 1 comment

Comments

@wangchaohao123
Copy link

我在自己flutter项目里引用了flutter_scankit: ^2.0.3,
执行 flutter build ios-framework,把生成的flutter_scankit.framework引入到iOS项目里,
编译报错:
dyld[483]: Library not loaded: @rpath/ScanKitFrameWork.framework/ScanKitFrameWork
Referenced from: <20407884-2838-3323-B78F-72D7A6D4B36B> /private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/flutter_scankit.framework/flutter_scankit
Reason: tried: '/private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/flutter_scankit.framework/Frameworks/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/usr/lib/swift/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/Swap.framework/Frameworks/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/usr/lib/swift/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/usr/lib/swift/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file), '/private/var/containers/Bundle/Application/B796EF7B-A8CB-4445-91EA-EDBC8784FD1F/TestApp.app/Frameworks/ScanKitFrameWork.framework/ScanKitFrameWork' (no such file)

我使用的是Xcode版本是Version 15.2 (15C500b)

flutter版本是3.10.5

有人知道怎么解决吗

@wangchaohao123
Copy link
Author

我从华为开发平台下载了ScanKitFrameWork 放在项目里,好了。
https://developer.huawei.com/consumer/en/doc/HMSCore-Guides/service-introduction-0000001050041994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant