Skip to content

Mac Catalyst / xcframework support #17291

@chrisballinger

Description

@chrisballinger
System information (version)
  • OpenCV => 4.3 / master
  • Operating System / Platform => Mac Catalyst
  • Compiler => Xcode 11.4.1
Detailed description

The build_framework.py build scripts for iOS and macOS should be updated to create xcframeworks instead of lipo'd frameworks. This is required in order to support Mac Catalyst, because the iOS simulator x86_64 slice conflicts with the x86_64-apple-ios-macabi slice.

Although there is an existing approach here, ideally it should be resolved in the platform build scripts, and ultimately the official binary releases should be a multi-platform .xcframework instead of a .framework.

Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    answers.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions