I have a similar problem. I'm using Delphi 10.4.2 and have done an SDK update to version 15.2.
I am using a server in MacInCloud with macOS Monterey to compile.
During compilation I get the following error.
[DCC Error] E2597 ld: warning: directory not found for option '-FC:UserDocumentsEmbarcaderoStudioSDKsSystemLibraryPrivateFrameworksDocumentManager.framework'
ld: file not found: /usr/lib/system/libcache.dylib for architecture arm64
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
What can be done about it ?