我正在嘗試使用Pods安裝AFNetworking。我創建了一個吊艙文件,當我運行pod install
我得到:ios無法使用Pods安裝依賴項
Unable to add a source with url
https://github.com/CocoaPods/Specs.git
namedmaster-1
. You can try adding it manually in~/.cocoapods/repos
or viapod repo add
.
我試圖克隆到~/.cocoapods/repos
但它給出了一個錯誤:fatal: destination path '.' already exists and is not an empty directory.
我PodFile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
pod 'AFNetworking', '~> 2.5'
任何建議?
顯示您的pod文件。 –