Cocoapods - Unable to find a Specification for [Github framework]
Citing your conversation in the comments, you'll want to execute sudo rm -fr ~/.cocoapods/repos/master
because it'll remove all the bogus and corrupted repos that you have in your computer to give it a chance to repopulate after you redo pod setup
, which'll reinstate you with a fresh Cocoapods setup. Additionally, you'll want to specify sudo xcode-select --switch /applications/Xcode.app
where your new version of Xcode is. That was just another setup procedure that I had to do to complete the fix. From there, just do pod setup
and you're set to run pod install
to integrate all the libraries that you want!
You can also force it by setting it like this:
pod 'yourpodframework', :git => 'https://github.com/username/yourpodframework'
I had the same problem.But I've got to fix my issue with the following procedure.
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'endpost_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