OpenCV  3.1.0
Open Source Computer Vision
Installation in iOS

Required Packages

Getting the Cutting-edge OpenCV from Git Repository

Launch GIT client and clone OpenCV repository from here

In MacOS it can be done using the following command in Terminal:

1 cd ~/<my_working _directory>
2 git clone https://github.com/Itseez/opencv.git

Building OpenCV from Source, using CMake and Command Line

  1. Make symbolic link for Xcode to let OpenCV build scripts find the compiler, header files etc.
    1 cd /
    2 sudo ln -s /Applications/Xcode.app/Contents/Developer Developer
  2. Build OpenCV framework:
    1 cd ~/<my_working_directory>
    2 python opencv/platforms/ios/build_framework.py ios

If everything's fine, a few minutes later you will get /<my_working_directory>/ios/opencv2.framework. You can add this framework to your Xcode projects.

Further Reading

You can find several OpenCV+iOS tutorials here OpenCV iOS.