【发布时间】:2015-07-08 14:16:17
【问题描述】:
我需要为 youtube 集成安装 cocoapods,我使用此链接 http://www.raywenderlich.com/64546/introduction-to-cocoapods-2 供参考
这是我的 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
//////////////////////////////////////////
当我尝试安装 pod 时收到此错误代码
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$
我已经使用 pod 'AFNetworking', '2.2.1' 安装了 pod,但是当我尝试安装 pod 时出现错误
"YouTube-Player-iOS-Helper", "~> 0.1"
【问题讨论】:
标签: ios objective-c xcode cocoa-touch cocoapods