首页 > 解决方案 > 未定义的符号:___darwin_check_fd_set_overflow

问题描述

当我尝试运行我的项目时出现此错误。

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

标签: iosobjective-cxcodecocoa-touchffmpeg

解决方案


I had same Issue that solved by Following step.

  1. comment all flipper function in podfile
  2. remove/comment flipperInit in appDelegate
  3. remove podfile.lock file in ios directory
  4. pod install,
  5. clean project
  6. run again

推荐阅读