When I'm try to compile my project I get error. I added all required frameworks - AVFoundation,opencv and many other , but it don't help me.Here is few lines from this error:
     Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_AVCaptureDevice", referenced from:
      objc-class-ref in MACaptureSession.o
  "_OBJC_CLASS_$_AVCaptureDeviceInput", referenced from:
      objc-class-ref in MACaptureSession.o
  "_OBJC_CLASS_$_AVCaptureSession", referenced from:
      objc-class-ref in MACaptureSession.o
  "_OBJC_CLASS_$_AVCaptureStillImageOutput", referenced from:
      objc-class-ref in MACaptureSession.o
  "_OBJC_CLASS_$_AVCaptureVideoPreviewLayer", referenced from:
      objc-class-ref in MACaptureSession.o
  "_OBJC_CLASS_$_CABasicAnimation", referenced from:
      objc-class-ref in MAImagePickerFinalViewController.o
  "_OBJC_CLASS_$_CATransition", referenced from:
      objc-class-ref in MAImagePickerControllerAdjustViewController.o
      objc-class-ref in MAImagePickerController.o
  "_OBJC_CLASS_$_MPVolumeView", referenced from:
      objc-class-ref in MAImagePickerController.o
  "_kCATransition", referenced from:
      -[MAImagePickerControllerAdjustViewController confirmedImage] in MAImagePickerControllerAdjustViewController.o