To set up OpenCV in Xcode -> https://www.youtube.com/watch?v=OVSPfUmNyOw Summery of what the video will ask you to do: Under Search Paths Always Search User Paths: Yes Framework Search Paths: /usr/local/lib Header Search Paths: /usr/local/include Library Search Paths: /Users/jasonvl/Computer\ Science/OpenCV/opencv-3.2.0/build/lib Not included in the video but add these to Linker Flags (just copy and paste): -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 *I'm not 100% sure about this, but I think adding the suite of linkers above means you don't have to individually add them, however, if you want to add the linkers individually, just right click on your Xcode project, select "Add Files to...", and add the appropriate files from usr/local/lib. There are multiple versions of the same linker files so my suggestion is to add all of them (if Xcode doesn't like a particular file, it'll complain, so simply remove the linker that it's complaining about). Which linkers are required? Good question. Let me give you an example - if you look at Lab1_Part0, you'll notice "opencv_core248d.dll" and "opencv_highgui248d.dll". Those are the Window versions of the linker files (I believe), so just add the core and highgui linkers from /usr/local/lib. Also, it's important to pay the header files since there are some headers (such as targetver.h) is only for Window platform, so just comment those out or else Xcode won't be happy. ALSO, when importing an image, use the full file path (might not be a problem for you but it was for me).