I've already built OpenCV for iOS myself according to the tutorial in the documentation, but it works on iOS 6 only. The library fails with a runtime error
dyld: Symbol not found: _objc_setProperty_nonatomic
It does not work in both the iOS 5.0, iOS 5.1 simulator and on an iPhone 4 running iOS 5 so I highly suspect that the iOS build scripts build a version for iOS 6 only. Is that so? If (or if not) how can this be fixed?
I'm using XCode 4.5 (which has only Base SDK iOS 6 installed).