OpenCV syntax highlighting error

I downloaded the official version of iOS framework from and then created a simple view-based Xcode project and added the opencv2.framework in the build phases menu.
After that I imported the opencv2.framework as:

#import <opencv2/opencv.hpp>

into the *.pch file.

AppCode shows error. AppCode+Opencv.jpg

Meanwhile there is no error at compile time and everything fine in Xcode.
Can you please help me to find a solution to this problem?

Comment actions Permalink

please follow and reattch the screenshot there - we can't see it here.

Comment actions Permalink

Denis, can you also attach a sample project that shows the problem to the issue? We cannot reproduce the problem.

Comment actions Permalink

I attached a sample project. The project can be build without any errors or warnings but AppCode shows that 'cv::Mat' can't be resolved.


Please sign in to leave a comment.