Are there issues with clang, cmake and MacOSX.sdk folders?

My issue is similar to: https://developer.apple.com/forums/thread/672939

Except on the software I wish to install my specific log message when I try to execute the command: "cmake .." The result is:

" The output was:

1

ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64

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

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.

Compiler: /Users/ME/miniconda3/bin/x86_64-apple-darwin13.4.0-clang++

Build flags: -march=core2;-mtune=haswell;-mssse3;-ftree-vectorize;-fPIC;-fPIE;-fstack-protector-strong;-O2;-pipe;-stdlib=libc++;-fvisibility-inlines-hidden;-std=c++14;-fmessage-length=0;-isystem;/Users/ME/miniconda3/include

Id flags:

The output was:

1

ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64

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

Detecting C compiler ABI info failed to compile with the following output:

Change Dir: /Users/ME/Documents/Geant4/geant4.10.07.p02/examples/basic/B1/build/CMakeFiles/CMakeTmp

"