I need to install cocoapods for youtube integration,i used this link http://www.raywenderlich.com/64546/introduction-to-cocoapods-2 for reference
This is my podfile
//////////////////////////////////////////
# Uncomment this line to define a global platform for your project
# platform :ios, '7.0'
target 'testyoutube' do
pod "YouTube-Player-iOS-Helper", "~> 0.1"
end
target 'testyoutubeTests' do
end
//////////////////////////////////////////
and i am getting this error code when i tried to install pods
Ansals-Mac-mini:testyoutube ansalantony$ pod install
Analyzing dependencies
CocoaPods 0.37.0.rc.1 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
[!] Unable to find a specification for `YouTube-Player-iOS-Helper (~> 0.1)`
Ansals-Mac-mini:testyoutube ansalantony$
I have installed pod with pod 'AFNetworking', '2.2.1' but I am getting error when I'm trying to install pod
"YouTube-Player-iOS-Helper", "~> 0.1"
In order to use CocoaPods you need to define the Xcode target to link them to. So for example if you are writing an iOS app, it would be the name of your app.
Here at Carbon Five, we consider testing the software we write to be crucial to the long term stability and velocity of our projects. We also value developer productivity.
u can use this link for referance : https://github.com/youtube/youtube-ios-player-helper
use these pod command instead of the old one
pod "youtube-ios-player-helper", "~> 0.1.1"
Replace your pod
line with this one:
pod "youtube-ios-player-helper", "~> 0.1.1"
The latest version is 0.1.4:
pod "youtube-ios-player-helper", "~> 0.1.4"
Notice that everything is lowercase.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With