My goal here is to have opencv embedded in macOS application as static framework. I clone the repo
cd opencv/platforms/osx python build_framework.py build