gpt4 book ai didi

react-native - 架构 i386 : "_OBJC_CLASS_$_RCTBundleURLProvider" 的 undefined symbol

转载 作者:行者123 更新时间:2023-12-01 00:21:11 30 4
gpt4 key购买 nike

我在为 react native 构建 IOS 项目时遇到此错误:

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_RCTBundleURLProvider", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_RCTRootView", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)



任何想法如何解决这个问题?

最佳答案

你必须在 中添加来自 React 的所有 lib*.a将二进制文件与库链接 部分。

https://stackoverflow.com/a/6429568/988941https://stackoverflow.com/a/30133760/988941更多细节

关于react-native - 架构 i386 : "_OBJC_CLASS_$_RCTBundleURLProvider" 的 undefined symbol ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48608425/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com