opencv/platforms/ios
Giles Payne 6265155ce4
Merge pull request #20092 from komakai:disable_swift_build
Fixes for Swift troubles

* Remove NS_SWIFT_NAME override for Point, Rect, and Size due to Darwin namespace conflict

* Fix swift_type overrides in objc generator

* Add backwards compatibility Swift typealiases for Point, Rect, Size

* Add disable-swift build option to iOS/macOS builds

* Add import directive to swift source when building with disable-swift

Co-authored-by: Chris Ballinger <cballinger@rightpoint.com>
2021-05-18 17:10:51 +03:00
..
cmake Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-01-16 19:03:42 +00:00
__init__.py Merge pull request #18826 from Rightpoint:feature/colejd/build-catalyst-xcframework 2020-11-24 21:54:54 +00:00
build_docs.py Obj-C/Swift docs improvements 2020-08-09 16:53:10 +09:00
build_framework.py Merge pull request #20092 from komakai:disable_swift_build 2021-05-18 17:10:51 +03:00
Info.Dynamic.plist.in Dynamic build for Objective-C/Swift wrapper 2020-06-26 08:26:05 +09:00
Info.plist.in Build separate world-like iOS framework for contrib 2014-12-05 17:48:28 +03:00
readme.txt Normalized file endings. 2013-08-21 18:59:25 +04:00
run_tests.py Bump default IPHONEOS_DEPLOYMENT_TARGET to 9.0 2020-11-30 17:34:34 -08:00

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.