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库的时候报错,记录一下解决方案以便以后查找,错误信息如上。

解决方案:

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



转载于:https://juejin.im/post/5c273d86e51d451e165ef0e6

你可能感兴趣的:(cocopods跟新第三方库报错)