With the below settings, you should be able to configure your Xcode opencv console application project. Library Search Paths /usr/local/lib Header Search Paths /usr/local/include Other Linker Flags -lopencv_calib3d -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_ml -lopencv_objdetect -lopencv_photo -lopencv_shape -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videoio -lopencv_videostab
This blog contains, information i would like to share.