Cocoa Pod无法找到规格

时间:2015-12-25 10:08:00

标签: swift cocoa cocoapods

这是我的pod文件

source 'https://github.com/CocoaPods/Specs.git'

# 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 'LIDO' do

pod 'SWXMLHash', '~> 2.0.0'
pod 'AEXML'
#pod 'SwiftyButton'
pod 'ActionButton'
pod 'DOFavoriteButton'
#pod "VideoSplash"
pod 'LNRSimpleNotifications', '0.2.0'
pod 'EZLoadingActivity'
#pod 'SwiftOverlays', '~> 1.0'
pod 'PureLayout'
end

但是

pod' SwiftyButton' pod" VideoSplash" pod' SwiftOverlays','〜> 1.0'

我总是遇到

  

[!]无法找到<name>

的规范

任何想法为什么? 我能找到所有这些

http://cocoapods.org/pods/SwiftyButton
http://cocoapods.org/pods/SwiftOverlays
http://cocoapods.org/pods/VIDEOSPLASH

直到昨天才开始工作?

1 个答案:

答案 0 :(得分:0)

你会想要执行sudo rm -fr ~/.cocoapods/repos/master,因为它会删除你计算机中的所有虚假和损坏的回购,以便在你重做pod setup之后给它一个重新填充的机会使用新的Cocoapods设置恢复您。此外,您还需要指定新版Xcode所在的sudo xcode-select --switch /applications/Xcode.app。这只是我必须做的另一个设置过程来完成修复。从那里开始,只需执行pod setup,您就可以运行pod install来集成您想要的所有库!