When trying to
[!] Unable to find a specification for 'XCDYouTubeKit (~> 2.1.1)'
# Uncomment this line to define a global platform for your project
# platform :ios, '6.0'
target 'DemoApp' do
pod 'XCDYouTubeKit', '~> 2.1.1'
target 'DemoAppTests' do
target 'TheDayByDay' do
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!