2016-05-02 8 views
0

をインストールポッドを実行することができません:

[!] Unable to find a specification for SFFocusViewLayout (~> 3.0)

[!] CocoaPods was not able to update the master repo. If this is an unexpected

issue and persists you can inspect it running `pod repo update --verbose

は、これが私のpodfileです:

# Uncomment this line to define a global platform for your project 
# platform :ios, "8.0" 
# Uncomment this line if you're using Swift 
use_frameworks! 
target "vid starter" do 
pod "SFFocusViewLayout", "~> 3.0" 
end 

target "vid starterTests" do 

end 

は何があります違う?

+1

お願いします。 –

答えて

2

エラーが示唆するようにヒントが1つあります:pod repo update --verboseと、どの情報が表示されるかを確認してください。

Cocoapods、ruby 2.3、OS X El Capitanにはもう問題があるようです。

gem経由でCocoapodsをインストールした場合は、アンインストールして自宅から再インストールできます。自作はルビー2.3を使用していないので、それは私はこれが役に立てば幸い...どうやら、私のため

  • sudo gem uninstall cocoapods

  • brew install cocoapods

それを修正しました。

+0

私の質問のようにしてください! :) –

+0

コマンドを認識しない –

+0

正しいコマンドは 'brew install cocoapods'ではなく、' homebrew install cocoadpods'です。 しかしこれはおそらく問題を解決するものではありません。 – jmknoll

関連する問題

 関連する問題