0
你做了什么?安装Podfile库时出错
将podfile添加到pod nano文件后,我运行pod install。
你预计会发生什么?
我预计要下载podfile。
发生了什么呢?
相反,我得到了一个错误。
的CocoaPods环境
错误读取
Installing SCLAlertView (0.5.8)
[!] Error installing SCLAlertView
[!] /usr/local/bin/git clone https://github.com/vikmeup/SCLAlertView-Swift.git /var/folders/1c/k1hjjv7j0559mz8t6x7dk5bc5k8626/T/d20160528-80617-1w7qaxw --template= --single-branch --depth 1 --branch 0.5.8
Cloning into '/var/folders/1c/k1hjjv7j0559mz8t6x7dk5bc5k8626/T/d20160528-80617-1w7qaxw'...
注*我已经尝试运行发生故障的git的命令,我也尝试重新安装饭桶。这两种解决方案都不起作用。请帮忙。谢谢。
你有权限创建'/ var/folders/1c/k1h .../T/d20 ...'吗? – andlrc
我不知道我是否有权限。我有没有理由不这样做? –
通常'/ var'属于root。如果你没有以root身份运行'git',那么试试:'ls -lad/var',你应该看到所有者。 – andlrc