Closed t1m0 closed 5 years ago
Hm, look slike there is an incorrect value returned by getXCodeMajor
function. Can you try xcode-select --install
and report what is returned by xcode-select --version
?
sudo softwareupdate -i Command Line Tools Password: Software Update Tool Copyright 2002-2015 Apple Inc.
Command: No such update Line: No such update Tools: No such update No updates are available. xcode-select --version xcode-select version 2345.1. am stuck at Submodule 'opencv' (https://github.com/opencv/opencv.git) registered for path 'opencv' Cloning into '/Users/*****/Library/Caches/CocoaPods/Pods/Release/OpenCV-Dynamic/3.2.4-8d4c9/opencv'...
The Podspec file should call /usr/bin/python
instead of just python
. The error above looks like it is calling python 3 instead of python 2. If Anaconda, or some other python, is installed, the python found in the path is not necessarily the right one.
Additionally, a check if cmake is installed would be nice. I got tripped up on that for a bit.
Both very good points, will add it once I find some time.
From 4.0.0-alpha1
, /usr/bin/python
is called instead of python
.
Hi,
I'm unable to install OpenCV-Dynamic with cocoapods. After playing around a while now I'm still not able to identify what I'm missing.