Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undefined symbol: ___darwin_check_fd_set_overflow

I'm getting this error when I try to run my project.

Undefined symbol: ___darwin_check_fd_set_overflow 

Here, I'm included pod 'mobile-ffmpeg-full', '4.3.2' this frame work for video streaming.

Complete error:

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)

enter image description here

Frame work Git link : https://github.com/tanersener/mobile-ffmpeg

like image 734
Naresh Avatar asked Dec 31 '22 23:12

Naresh


2 Answers

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
like image 61
Bhaumik Surani Avatar answered Jan 02 '23 12:01

Bhaumik Surani


It's kinda a Pod issue, so there's no need to remove or commenting out the files. Simply downgrade the Flipper-Folly and OpenSSL-Universal. Search for the property on your Podfile.lock. Downgrade them one version step down. For example:

(2.2.1) to (2.2.0)
(= 1.0.2.20) to (= 1.0.2.19)
like image 41
Anayo Oleru Avatar answered Jan 02 '23 12:01

Anayo Oleru