3c5a6be835
The regex was only parsing for a single digit in the major version, causing Xcode 10 to be treated as version "1". Other parts of the script only turn on bitcode generation if the Xcode version is > 7.
Building OpenCV from Source, using CMake and Command Line ========================================================= cd ~/<my_working_directory> python opencv/platforms/ios/build_framework.py ios If everything's fine, a few minutes later you will get ~/<my_working_directory>/ios/opencv2.framework. You can add this framework to your Xcode projects.