2

I am using opencv2 framework in iOS . i have build the opnecv framework using terminal and got opencv2.framework in my directory. now from Xcode i am adding the framework using addonther framework in Xcode . and framework added like this enter image description here

and

in project navigation

enter image description here

and this is my search path

ld: framework not found opencv2enter image description here

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

what is issue here . what is missing i am unable to find

4
  • Did your issue got resolved? Commented Mar 18, 2017 at 7:53
  • yes I have solved Commented Mar 20, 2017 at 4:46
  • How did you solve this problem? Commented Jul 25, 2017 at 13:28
  • @Sport How did you solve it can you share it with us? Commented Jun 5, 2020 at 9:57

4 Answers 4

3

I was facing same issue when i am trying to add the opencv framework using addother framework in Xcode. And I had solved it by copying framework file into source code folder and then add it from that place.

My App folder screenshot URL: https://s31.postimg.org/99772tycb/Sceenshot.png . Hope it will help you.

Sign up to request clarification or add additional context in comments.

Comments

1

Just Remove opencv2 framework from your project directory and add it again.

Comments

0

I was facing the same issue with xcode 11.3 and openCV version 4.1.1, Got it solved by adding the new release of ovenCV 4.1.2 framework in the project.

Comments

0

Maybe I'm a bit late. But this can help someone. If removing and re-adding the framework does not work. Go to Build Settings-> Search Paths -> under Framework search paths: Remove "Any Architecture | Any SDK".

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.