Tuesday, September 22, 2015

Using OpenCV 3.0 on XCODE 7 for iOS

Recently, I tried OpenCV 3.0 on XCODE 7 for iOS app development. When using OpenCV 3.0 on XCODE 7 for iOS application development, adding opencv2.framework to the project is not enough to make it work. XCODE 7 couldn't locate opencv.hpp header file, like the screenshot below. 

The reason why it complains is because XCODE 7 does not add the path of opencv2.framework to Framework Search Path under Build Settings of the project. 

Thus, the solution is just adding opencv2.framework path to the Framework Search Path as shown below. After adding the path, the build finishes without problems !!  


  1. No bullshit man!! You deserve money!! After 3 hours of googling and failing you came to the rescue! By now I bless you! Later I'll ble$$ you! Thank you 1000+ times!