How does Embedded Frameworks in the jucer work

I have it set like this:

But it still appear red in Xcode and I get this error:

Ok, managed to add it.

../../../common/Source/3rd_party/REX/Mac/Deployment/REX Shared Library.framework

The comment says:

You will probably need to add an entry to the Framework Search Paths for each unique directory.

But the search path obviously isn’t checked

Ok, still not solved. Doing the above, it ads the framework to the project, but it doesn’t link:

Ld /Users/rrabien/dev.github/waveform/waveform/waveform12/Builds/MacOSX/build/Debug/Waveform\ 12\ (64-bit).app/Contents/MacOS/Waveform\ 12\ (64-bit) normal (in target 'Waveform - App' from project 'Waveform')
    cd /Users/rrabien/dev.github/waveform/waveform/waveform12/Builds/MacOSX
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -L/Users/rrabien/dev.github/waveform/waveform/waveform12/Builds/MacOSX/build/Debug -L../../../common/Source/3rd_party/elastique_pro/lib/osx/intel -L../../../common/Source/3rd_party/AutomapSDK/lib/MacOSX -F/Users/rrabien/dev.github/waveform/waveform/waveform12/Builds/MacOSX/build/Debug -filelist /Users/rrabien/Library/Developer/Xcode/DerivedData/Waveform-ckhckmoehjnpyxdyhbdcktqgkhrd/Build/Intermediates.noindex/Waveform.build/Debug/Waveform\ -\ App.build/Objects-normal/x86_64/Waveform\ 12\ \(64-bit\).LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../Frameworks -Xlinker -object_path_lto -Xlinker /Users/rrabien/Library/Developer/Xcode/DerivedData/Waveform-ckhckmoehjnpyxdyhbdcktqgkhrd/Build/Intermediates.noindex/Waveform.build/Debug/Waveform\ -\ App.build/Objects-normal-asan/x86_64/Waveform\ 12\ \(64-bit\)_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -stdlib\=libc++ -fsanitize\=address -lelastiquePro -lelastiqueEfficient -lelastiqueSOLOIST -lResample -lzplVecLib -lAutomapClient -framework AudioUnit -framework Accelerate -framework AudioToolbox -framework AVFoundation -framework AVKit -framework Carbon -framework Cocoa -framework CoreAudio -framework CoreAudioKit -framework CoreMedia -framework CoreMIDI -framework DiscRecording -framework Foundation -framework IOKit -framework OpenGL -framework QuartzCore -framework Security -framework WebKit -framework REX\ Shared\ Library -Xlinker -dependency_info -Xlinker /Users/rrabien/Library/Developer/Xcode/DerivedData/Waveform-ckhckmoehjnpyxdyhbdcktqgkhrd/Build/Intermediates.noindex/Waveform.build/Debug/Waveform\ -\ App.build/Objects-normal-asan/x86_64/Waveform\ 12\ \(64-bit\)_dependency_info.dat -o /Users/rrabien/dev.github/waveform/waveform/waveform12/Builds/MacOSX/build/Debug/Waveform\ 12\ \(64-bit\).app/Contents/MacOS/Waveform\ 12\ \(64-bit\)

ld: framework not found REX Shared Library
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ok, now I get in, in the first box you put the folder

../../../common/Source/3rd_party/REX/Mac/Deployment/

and in the second box you put the folder again + library name

../../../common/Source/3rd_party/REX/Mac/Deployment/REX Shared Library.framework

FWIW I was able to add an embedded framework (using a relative path) without specifying anything in the framework search paths field.