Comparing opencv:4.x...Py-Swift:ios · opencv/opencv-python

Commits on Mar 11, 2026

  1. Add iOS cross-compilation support via cibuildwheel

    - Add iOS detection and CMake toolchain flags in setup.py
    - Add MacTypes.h shim to resolve Ptr/Size/Point/Rect ambiguity with cv:: types
    - Explicitly set Python version vars skipped by OpenCVDetectPython on iOS
    - Add dlpack include path (skipped by OpenCVDetectDLPack on iOS)
    - Fix Python library path for iOS Python.framework
    - Multi-strategy numpy include detection for isolated build envs
    - Use Ninja generator with explicit CMAKE_MAKE_PROGRAM for iOS
    - Set LIMITED_API=OFF for iOS builds
    - Add [tool.cibuildwheel.ios] config in pyproject.toml
    - Bump numpy build requirement for Python 3.13 to 2.3.0
    Configuration menu

    Browse the repository at this point in the history