无法运行吊舱安装命令
,当我在无法运行吊舱安装命令
$ pod install
在终端
型我得到这个错误:
[!] Unable to find a specification for
SFFocusViewLayout (~> 3.0)
[!] CocoaPods was not able to update the
master
repo. If this is an unexpectedissue 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
有什么错误?
一个暗示是要做的错误建议:pod repo update --verbose
,看看它告诉你什么信息。
另一方面,Cocoapods,ruby 2.3和OS X El Capitan似乎都有问题。
如果你已经通过gem安装了Cocoapods,你可以卸载它并通过自制软件重新安装。这固定它对于我来说,这显然是因为自制软件不红宝石2.3使用...
sudo gem uninstall cocoapods
brew install cocoapods
我希望这有助于。
请喜欢我的问题! :) –
它不能识别命令 –
正确的命令是'brew install cocoapods'不是'homebrew install cocoadpods' 但是,这可能不会解决问题。 – jmknoll
请帮助我! –