Using Xcode for OpenCV projects

OpenCV is the most mature computer vision library in the world. Xcode is the best IDE on macOS. OpenCV is written in C++ and various bindings (first- and third-party) exist for most popular language. I prefer to work in C++. Although Xcode has excellent support for C++ projects, getting it to play nicely with OpenCV is rather tricky.