Library of AliPysics can't be loaded after build successfully

Hi expert,

I have builded AliPhysics successfully on macOS big Sur 11.6 with Xcode 13.0. but The library can’t be loaded when I try to run some task locally. you can see the output below:

cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
E-TInterpreter::TCling::AutoLoad: failure loading library libPWGHFvertexingHF for AliAnalysisTaskSECleanupVertexingHF.h
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
E-TInterpreter::TCling::AutoLoad: failure loading library libPWGHFvertexingHF for AliRDHFCutsD0toKpi.h
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
E-TInterpreter::TCling::AutoLoad: failure loading library libPWGHFvertexingHF for AliRDHFCutsLctopKpi.h
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
E-TInterpreter::TCling::AutoLoad: failure loading library libPWGHFvertexingHF for AliHFQnVectorHandler.h
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
E-TInterpreter::TCling::AutoLoad: failure loading library libPWGHFvertexingHF for AliRDHFCutsD0toKpi.h
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
E-TInterpreter::TCling::AutoLoad: failure loading library libPWGHFvertexingHF for AliNormalizationCounter.h
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
E-TInterpreter::TCling::AutoLoad: failure loading library libPWGHFvertexingHF for AliAODRecoDecayHF2Prong
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found
cling::DynamicLibraryManager::loadLibrary(): dlopen(/Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so, 9): Library not loaded: @rpath/libtreelite.dylib
Referenced from: /Users/peng/alice/sw/osx_x86-64/AliPhysics/master-local1/lib/libPWGHFvertexingHF.so
Reason: image not found

and also:

Error in TInterpreter::TCling::AutoLoad: failure loading library libPWGHFvertexingHF for AliAnalysisTaskHFSimpleVertices

Do you have some idea for this? many thanks your help!