-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Can't build ios without some modules #18381
Copy link
Copy link
Closed
Description
System information (version)
- OpenCV => 4.4.x (master)
- Operating System / Platform => MAC Catalina
- Compiler => Cmake 3.8
- Python => 2.7
- Xcode => 11.5
Detailed description
I'm using platforms/ios/build_framework.py to build opencv for ios swift project.
When I run the script(build_framework.py) without any arguments, it works well.
But if I put arguments --without, the build fails.
I checked this issue in Xcode 11.5, 11.7, 12.0 and all the same result.
The error says
CMake Error at modules/objc/generator/CMakeLists.txt:86 (add_dependencies):
Cannot add target-level dependencies to non-existent target "opencv_world".
This line of code makes change if I use argument --without.
Steps to reproduce
python platforms/ios/build_framework.py build_ios_without_doublecheck_2 --without calib3dIssue 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
Reactions are currently unavailable