Setting up Libtorch in Mac Xcode IDE

Im new to Xcode IDE
How to set the Cmake for libtorch in my Xcode IDE?
So far I’ve set the

2.Header search path
3.Libraries search path

However it still doesn’t work

1 Like

To make XCode console project with libtorch :

$ cmake -G Xcode -DCMAKE_PREFIX_PATH=~/libtorch CMakeLists.txt …

It works, well in console mode.
But, I want to run in Openframeworks + XCode.
Unfortunately, I have failed in Openframeworks + XCode.

from @bemoregt.