Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Framework Not Found — OpenCV

I am having issues getting OpenCV to work with iOS and Xcode. I am running OS X 10.9.3 and Xcode 5.1.1. To install OpenCV and build the framework for iOS, I followed these instructions exactly.

I then created a new project, and dragged in opencv2.framework from Finder into Link Binary with Libraries. After building the project, I get:

ld: framework not found opencv2
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I noticed that in the right sidebar there is a question mark next to opencv2.framework I read that this is due to the framework not being included in source control. I selected the framework and clicked Source Control > Add "opencv2.framework" The question mark doesn't go away and the build still fails with the same error.

Usually when Xcode cannot find a file, the file's text is red. It is not in this case.

Could someone please help me?

click to hide/show revision 2
retagged

updated 2014-05-26 00:44:40 -0600

berak gravatar image

Framework Not Found — OpenCV

I am having issues getting OpenCV to work with iOS and Xcode. I am running OS X 10.9.3 and Xcode 5.1.1. To install OpenCV and build the framework for iOS, I followed these instructions exactly.

I then created a new project, and dragged in opencv2.framework from Finder into Link Binary with Libraries. After building the project, I get:

ld: framework not found opencv2
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I noticed that in the right sidebar there is a question mark next to opencv2.framework I read that this is due to the framework not being included in source control. I selected the framework and clicked Source Control > Add "opencv2.framework" The question mark doesn't go away and the build still fails with the same error.

Usually when Xcode cannot find a file, the file's text is red. It is not in this case.

Could someone please help me?