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