Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Swift Cocoa Pod找不到的规范_Swift_Cocoa_Cocoapods - Fatal编程技术网

Swift Cocoa Pod找不到的规范

Swift Cocoa Pod找不到的规范,swift,cocoa,cocoapods,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', '~>

这是我的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
要不是

吊舱“快捷按钮” 播客“视频飞溅” 吊舱'SwiftOverlays',“~>1.0”

我总是遇到麻烦

[!]找不到

知道为什么吗? 我能找到所有这些





它直到昨天才开始工作?

您需要执行
sudo rm-fr~/.cocoapods/repos/master
,因为它将删除您计算机中所有的伪造和损坏的repos,以便在您重做
pod设置后给它一个重新填充的机会,这将用新的cocoapods设置恢复您的身份。此外,您还需要指定新版本xcode所在的
sudoXcode选择--switch/applications/xcode.app
。这只是另一个安装过程,我必须完成修复。从这里开始,只需执行
pod安装
,您就可以运行
pod安装
,集成所有需要的库

您的项目是objective c或swift项目?您是否将cocoapods更新为最新版本?我在运行“sudogem安装cocoapods”时遇到了同样的问题