cocoapods 1.0.1
The dependency xxx
is not used in any concrete target.
Podfileの書き方がcocoapods 1.0系になって変わったらしく
Podfileを
$ pod init
で生成すると
# Uncomment this line to define a global platform for your project # platform :ios, '9.0' target 'SampleProj' do # Comment this line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for SampleProj pod 'Bond', '~> 4.0' target 'SampleProjTests' do inherit! :search_paths # Pods for testing end end
このようにプロジェクト名でテンプレが生成されるので、Pods for xxx以下にpod xxxを書けば良い
Unable to find a specification for 'xxxxx'
$ pod setup
してから
$ pod install
で解決