cocopods跟新第三方库报错

Installing SGQRCode (2.5.4)

[!] Error installing SGQRCode
[!] /usr/bin/git clone https://github.com/kingsic/SGQRCode.git /var/folders/p7/gbbns03s59d1qljkrxfd3hg00000gn/T/d20181229-2129-1cfuhqd --template= --single-branch --depth 1 --branch 2.5.4

Cloning into '/var/folders/p7/gbbns03s59d1qljkrxfd3hg00000gn/T/d20181229-2129-1cfuhqd'...
warning: Could not find remote branch 2.5.4 to clone.
fatal: Remote branch 2.5.4 not found in upstream origin复制代码

今天跟新SGQRCode库的时候报错,记录一下解决方案以便之后查找,错误信息如上。git

解决方案:github

pod 'SGQRCode', :git => 'https://github.com/kingsic/SGQRCode.git'bash

相关文章
相关标签/搜索