更新了cocoapods,然后发现按照以前的方式不能用了,出了好多错误,折腾了好久怎么解决
比如这句:The dependency `SDWebImage` is not used in any concrete target.
最后发现是因为新版本的cocoapods引入了target的概念
........
platform :ios
target 'theAppName' do
pod 'AFOnoResponseSerializer'
pod 'SDWebImage'
pod 'SSKeychain'
pod 'ReactiveCocoa'
pod 'GPUImage'
pod 'MBProgressHUD'
pod 'RESideMenu'
pod 'Reachability'
pod 'TTTAttributedLabel'
pod 'GRMustache'
pod 'TOWebViewController'
pod 'MJRefresh'
pod 'TBXML'
pod 'DateTools'
pod 'DTCoreText'
pod 'UMengSocial'
end
(不要忘记end)
最后终于成功了!!!
Pod installation complete! There are 16 dependencies from the Podfile and 20
total pods installed.
只是一个小日记,懒得调格式了,好饿去吃饭。