Itseez/opencv — pull request #70 by lajos (2012-10-22 04:15:51+00:00)
Title: added Xcode build setting IPHONEOS_DEPLOYMENT_TARGET for iOS building

Xcode 4.5 defaults to building for iOS 6.0 deployment target (the previous default was 4.3). Because of this change apps with deployment target <6.0 would crash when using the opencv library built with Xcode 4.5.

This patch adds the IPHONEOS_DEPLOYMENT_TARGET build setting to the generated Xcode project and defaults to 4.3 deployment target, which can be changed with an optional argument to ios/build_framework.py:

````
build_framework.py []
````

So to build the opencv framework for iOS 5.0:

````
./build_framework.py . 5.0
````