There are 2 ways to install and link opencv-2.4.2 to XCode
following the steps mentioned in the
question to install, and following
this
to link XCode. But honestly this way
didn't work with me !! it generated
an armv7 architecture error !!!
Just an easy, pure way :
- Download opencv2.framework from opencv.org (it's a prebuilt
framework -ready to use directly- )
- Add it to xcode project as adding any library. if you don't know about
that, don't worry :) read the
content under the title "Adding the
OpenCV Framework"
here
- Add headers >> Follow the steps under the title "Include the OpenCV
headers"
here
- Write your test code and Run.
Enjoy :)