【问题标题】:OpenCV not working with Cocoapods iOSOpenCV 不适用于 Cocoapods iOS
【发布时间】:2016-06-23 14:36:56
【问题描述】:

我正在尝试使用 cocoapods 中的 OpenCV 框架

在我写 pod install 时显示错误

找不到OpenCV 的规范

谁能帮我解决一下?

# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
# use_frameworks!

target 'Driver App' do
pod 'AFNetworking', '~> 2.6.3'
pod 'CLImageEditor'
pod 'OpenCV'
end

target 'Driver AppTests' do

end

【问题讨论】:

  • 粘贴你的podfile
  • # 取消注释此行以为您的项目定义一个全局平台 # platform :ios, '8.0' # 如果您使用 Swift,请取消注释此行 # use_frameworks! target 'Driver App' do pod 'AFNetworking', '~> 2.6.3' pod 'CLImageEditor' pod 'OpenCV' end target 'Driver AppTests' do end
  • 请按格式添加问题

标签: ios opencv cocoapods


【解决方案1】:

试试这个

# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
# use_frameworks!

target 'Driver App' do
pod 'AFNetworking', '~> 2.6.3'
pod 'CLImageEditor', '~> 0.1'
pod 'OpenCV', '~> 3.0'
end

target 'Driver AppTests' do

end

【讨论】:

猜你喜欢
  • 2014-11-06
  • 2016-02-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-05-25
  • 2018-01-21
  • 2016-02-15
  • 1970-01-01
相关资源
最近更新 更多