OpenCV cocoapods error解决方案

error:

bogon:issue-21-OpenCV-FaceRec-master JackieYip$ pod install --no-repo-update
Analyzing dependencies
Downloading dependencies
Installing OpenCV (2.4.9.1)

[!] Error installing OpenCV
[!] /usr/bin/curl -f -L -o /var/folders/km/k1znc3xx6mqcbffb82wv2xj00000gn/T/d20160523-60436-1swphpl/file.zip http://hivelocity.dl.sourceforge.net/project/opencvlibrary/opencv-ios/2.4.9/opencv2.framework.zip --create-dirs

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: hivelocity.dl.sourceforge.net

解决方案:
http://stackoverflow.com/questions/31005022/cant-install-opencv-with-cocoapods-could-not-resolve-host-hivelocity-dl-sourc

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容