I have build the framework for iOS with --contrib. When I use the SURF on iOS, I can run on iOS Simulator success, but failed on Device.
libc++abi.dylib: terminating with uncaught exception of type cvflann::anyimpl::bad_any_cast
If change the scheme to release and run on iOS Simulator will crash at:
FlannBasedMatcher matcher;
Here is my test project. http://oz513xipu.bkt.clouddn.com/IRDemo.zip