未定义符号:___darwin_check_fd_set_overflow

iOS*_*iOS 4 xcode cocoa-touch ffmpeg objective-c ios

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

Undefined symbol: ___darwin_check_fd_set_overflow 
Run Code Online (Sandbox Code Playgroud)

在这里,我包含了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)
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

框架 Git 链接: https : //github.com/tanersener/mobile-ffmpeg

Bha*_*ani 6

我有通过以下步骤解决的相同问题。

  1. 注释 podfile 中的所有鳍状肢功能
  2. 删除/评论 appDelegate 中的flipperInit
  3. 删除 ios 目录下的 podfile.lock 文件
  4. 吊舱安装,
  5. 清洁工程
  6. 再次运行