IOS error: linker command failed with exit code 1 solution

The error is as follows:

ld: library not found for -lXXX

clang: error: linker command failed with exit code 1 (use -v to see invocati

When we refer to static libraries, we do not configure library search paths, which results in an error

resolvent:

Build settings – library search paths view the path of the XXX file. If the path is wrong or there is no path, add the correct path again, and then compile Xcode.

Read More: