Link issues with Xcode13 not happening with lower version

When I use Xcode whose version lower than Xcode13, compilation succeeded. But use Xcode 13.2.1 , compilation failed.

My project has opencv static library, and objc use them. In Xcode 12.5.1 compile ok, but in Xcode 13.2.1 compile, reports some issue like this:

Undefined symbols for architecture arm64: "cv::DescriptorMatcher::match(cv::Mat const&, cv::Mat const&, std::__1::vector<cv::DMatch, std::__1::allocatorcv::DMatch >&, cv::Mat const&) const", referenced from: MXRRecognizeImp::queryImages(cv::Mat, int*, int*, int, bool, int) in MXRRecognizeImpl.o "cv::FeatureDetector::detect(cv::Mat const&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >&, cv::Mat const&) const", referenced from: mxr_detectAndCompute(cv::Ptrcv::Feature2D&, cv::Mat&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >&, cv::Mat&, int) in MXRRecognizeImpl.o "cv::DescriptorExtractor::compute(cv::Mat const&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >&, cv::Mat&) const", referenced from: mxr_detectAndCompute(cv::Ptrcv::Feature2D&, cv::Mat&, std::__1::vector<cv::KeyPoint, std::__1::allocatorcv::KeyPoint >&, cv::Mat&, int) in MXRRecognizeImpl.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I had tried many solutions for these undefined symbols issue, even help for google and stackoverflow, but failed yet. Could you help me ?

Link issues with Xcode13 not happening with lower version
 
 
Q