当我试图运行我的项目时,我会得到这个错误。
Undefined symbol: ___darwin_check_fd_set_overflow
在这里,我包括pod 'mobile-ffmpeg-full', '4.3.2'
这个帧为视频流工作。
完全错误:
Undefined symbols for architecture arm64:
"___darwin_check_fd_set_overflow", referenced from:
_read_key in mobileffmpeg(libmobileffmpeg_la-fftools_ffmpeg.o)
_xmlNanoFTPCheckResponse in libxml2(nanoftp.o)
_xmlNanoFTPCloseConnection in libxml2(nanoftp.o)
_xmlNanoFTPList in libxml2(nanoftp.o)
_xmlNanoFTPGet in libxml2(nanoftp.o)
_OUTLINED_FUNCTION_8 in libxml2(nanoftp.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
框架工作Git链接: https://github.com/tanersener/mobile-ffmpeg
发布于 2020-11-28 04:43:54
我有同样的问题,通过下面的步骤解决了。
podfile
G 213
发布于 2020-12-29 23:39:04
这是一个Pod问题,所以没有必要删除或注释掉这些文件。只需降低Flipper-Folly
和OpenSSL-Universal
的评级。搜索Podfile.lock
上的属性。把他们降级一个版本就下台。例如:
(2.2.1) to (2.2.0)
(= 1.0.2.20) to (= 1.0.2.19)
发布于 2021-03-23 10:21:21
我遇到过几次这种情况。此问题主要发生在Xcode版本(11.3.1)的Mojave上。升级我的macOS以及Xcode将永久解决这个问题。
如何解决这个问题;
的样子
- Flipper-Folly (2.2.0):
- boost-for-react-native
- CocoaLibEvent (~> 1.0)
- Flipper-DoubleConversion
- Flipper-Glog
- OpenSSL-Universal (= 1.0.2.19)
)
这个问题也在这里得到了回答,https://github.com/facebook/react-native/issues/30231
https://stackoverflow.com/questions/62947778
复制相似问题