Template for configuring Xcode to run Opencv programs
Preferred method of installation [Macports] (https://www.macports.org). Install opencv using sudo port install opencv.
Once installed, copy the .xctemplate to
~/Library/Developer/Xcode/Templates/Application/Project Templates/OpenCV/ (Create any non-existent sub directory)