Ask Your Question

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 '', 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

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: Also this script generates xcode projecs for simulator and real arm.

edit flag offensive delete link more

Question Tools


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

Seen: 879 times

Last updated: Jul 11 '12