
[英]Undefined symbols for architecture x86_64 - ld: symbol(s) not found for architecture x86_64
[英]ld: symbol(s) not found for architecture x86_64 (realm)
我在我的本机项目中使用领域: https : //github.com/kdnakt/pixelarn
在我的 Mac 上运行ncu -u
将 react-native-elements 更新为 1.0.0 并将realm 更新为 2.23.0 后, react-native run-ios
不会启动我的应用程序,我收到以下错误:
realm::jsc::ObjectWrap<realm::js::CollectionClass<realm::jsc::Types> >::create_class() in libRealmReact.a(jsc_init.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
我看到了一些 Github 问题并在我的项目目录中尝试了rm -rf ~/Library/Developer/Xcode/DerivedData/
和rm -rf ios/build/
,但仍然失败......我如何使用react-native run-ios
启动我的本机应用程序react-native run-ios
?
升级后有一些修改以响应本机 0.58.5 及以上版本。
尝试在“Link Binary With Libraries”中手动链接 JavaScriptCore.framework。 我有同样的问题,它对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.