2016-11-17 53 views
0

规范我有问题,在安装可可豆荚无法找到的CocoaPods

[!] Unable to find a specification for `SideMenu~> 2.0` 
+4

的可能的复制[无法找到的CocoaPods规范(http://stackoverflow.com/questions/25913733/unable-to-find-a-specification-在-的CocoaPods) –

回答

0

我有同样的问题。但我必须按照以下步骤解决我的问题。

source 'https://github.com/CocoaPods/Specs.git' 
    platform :ios, '9.0' 

    target 'Test' do 

     use_frameworks! 

# pod 'Alamofire', '~> 4.0' 
    pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git' 

# pod 'SwiftyJSON' , '~> 3.1' 
    pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git' 

#  pod 'SideMenu' '~> 2.0' 
     pod 'SideMenu', :git => 'https://github.com/jonkykong/SideMenu.git' 

#  pod 'SDWebImage', '4.0.0-beta2' 
     pod 'SDWebImage', :git => 'https://github.com/rs/SDWebImage.git' 

#  pod 'SwiftDate', '~> 4.0' 
     pod 'SwiftDate', :git => 'https://github.com/malcommac/SwiftDate' 



end 

post_install do |installer| 
    installer.pods_project.targets.each do |target| 
     target.build_configurations.each do |config| 
     config.build_settings['SWIFT_VERSION'] = '3.0' 
    end 
    end 
    end 

Links for more information

相关问题