DDMathParser 3.0.0 与 CocoaPods

DDMathParser 3.0.0 with CocoaPods

嘿,圣诞快乐,

我想使用最新的 CocoaPods 版本将 DDMathParser 添加到我的 Swift 3 项目中。问题是我只安装了 DDMathParser 2.0.0。我想念什么?

我的播客文件是:

platform :osx, '10.11'
target 'DDTest02' do
use_frameworks!
pod 'DDMathParser', :git => 'https://github.com/davedelong/DDMathParser.git'

当我尝试使用时:

pod 'DDMathParser', :git => 'https://github.com/davedelong/DDMathParser.git', :branch => 'swift-3.0'

它抛出一个错误warning: Could not find remote branch swift-3.0 to clone. fatal: Remote branch swift-3.0 not found in upstream origin

DDMathParser 作者在这里...

没有 swift-3.0 分支,所以我不确定您为什么要这样做。尝试使用以下方式指定 3.0.0 标签:

pod 'DDMathParser', :git => 'https://github.com/davedelong/DDMathParser.git', :tag ⇒ '3.0.0'