Getting error from "opencv2.framework". Just a new project contained "opencv2.framework" not running.
My Steps:
Am I missing something?

#ifndef PrefixHeader_pch
#define PrefixHeader_pch
#import <Availability.h>
#ifndef __IPHONE_4_0
#warning "This project uses features only available in iOS SDK 4.0 and later."
#endif
#ifdef __cplusplus
#import <opencv2/opencv.hpp>
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
#endif /* PrefixHeader_pch */

Line 46 says it all: You have to put opencv.hpp before any Apple's headers. In PrefixHeader.pch move
#ifdef __cplusplus
#import <opencv2/opencv.hpp>
#endif
up and before
#import <Availability.h>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With