after successfully installed cocoapod \'OpenCV2\', set the $(inherited) flag in Xcode Target settings then \'pod update\' and opened the project.xcworkspace, the import \'OpenCV