1

I'm trying to add opencv framework into built project(https://github.com/amolaks76/iOS-Camera-and-OpenCV) I found from Github. I'm just trying to run the app on my iPhone to see how opencv works with Swift. I added opencv.framework which I found from opencv website. Even if I add the framework, it still complains like below image. enter image description here

one thing I found is that opencv.framework has different image than apple's framework like below: enter image description here

I've seen other stackoverflow questions about this matter and people suggested to make sure Always Search User Paths is Yes. I'm updating my search path setting below: enter image description here

can you guys tell me what I'm doing wrong here?

2 Answers 2

1

use following

#import "opencv2/opencv.hpp"

and in build settings -> compile as -> objective c++

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

Comments

0

you need to download ovencv frame work from https://github.com/Itseez/opencv add it to your project

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.