Search code examples
pythoniosopencvios7

How to compile OpenCV for iOS7 (arm64)


Compiling Xcode Project fails with following errors: 'missing required architecture arm64 in file /Users/*/Git/ocr/opencv2.framework/opencv2'

It works well, if i change Architectures(under Build Settings) to (armv7, armv7s) instead of (armv7, armv7s).

How to change the opencv python build script, to add arm64 support to opencv2.framework?


Solution

  • The latest OpenCV iOS framework supports 64 bit by default

    It can be downloaded at: OpenCV download page