1 | initial version |
My .pch:
#import <opencv2/opencv.hpp>
#import <Availability.h>
#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
You should try to include OpenCV framework before any definitions on your .pch file.