Ask Your Question
0

Compiling OpenCV for iOS - no product type error

asked 2012-07-11 09:26:11 -0600

Gradient gravatar image

updated 2012-07-11 13:51:40 -0600

AlexanderShishkov gravatar image

Hello - I used CMake to create xcode opencv project. I compiled it successfully for i386 architecture. When I change the architecture to iphone simulator (armv7), I get following error for one lib. Does any one know how to resolve this?

"target specifies product type 'com.apple.product-type.library.dynamic', but there's no such product type for the 'iphoneos' platform"

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-07-11 13:49:32 -0600

AlexanderShishkov gravatar image

For buildind OpenCV for iPhone simulator you should use special Python script (process is described here: http://docs.opencv.org/doc/tutorials/introduction/iosinstall/iosinstall.html#ios-installation). Also this script generates xcode projecs for simulator and real arm.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-11 09:26:11 -0600

Seen: 940 times

Last updated: Jul 11 '12