The dependency **** is not used in any concrete target.

当终端执行

pod install

终端报错:

The dependency * is not used in any concrete target.

原因:
CocoaPods升级到最新版本(包括一些高版本),Podfile文件的内容必须明确指出所用第三方库的targetName.低版本和高版本写法不一样.

低版本:

platform :ios, '8.0'
pod 'MBProgressHUD', '~> 0.9.2'

高版本:

platform :ios, '8.0'
target "targetName" do
pod 'MBProgressHUD', '~> 0.9.2'
end

注意:这里的 targetName 填写工程的名字。

参考:
http://www.jianshu.com/p/e81991409394

你可能感兴趣的:(The dependency **** is not used in any concrete target.)