I developed a very simple application using openCV for iOS. It worked until I decided to use the code in another project. I get this armv7 error and I can not see where the problem is (please see the last image)
I created a static lib file of my working code that has the following architecture information:

Than I compiled it to the * .a file and added the dyOpenCv.a and DyOpenCV.h files to my main project, which has the following architecture information:

But when I try to use the method in the header file ( DyOpenCV.h ), the following error appears:

Any ideas what this could be?