Cocos2d-x v.4 has error in Big Sur:
“clang: error: no such file or directory: ‘/usr/lib/libiconv.dylib’
Command Ld failed with a nonzero exit code”
It is looks like there is not hard link to libiconv.dylib in /usr/lib and should be replaced with libiconv.tbd. Nevertheless, the project still does not build, giving an error: "clang: error: unknown argument: ‘-no_adhoc_codesign’ ".
Also, i can not create new projects, “cmake … -GXcode” command fails with error: “CMake Error at CMakeLists.txt:30 (project):
No CMAKE_C_COMPILER could be found.”