pod update 出现dependency is not used in any concrete target
编译项目中遇到下面的情况
yangtao:ios_tea75271com yt$ pod update Update all pods Re-creating CocoaPods due to major version update. Updating local specs repositories Analyzing dependencies [!] The dependency `FMDB` is not used in any concrete target. The dependency `SDWebImage` is not used in any concrete target. The dependency `AFNetworking` is not used in any concrete target. The dependency `DACircularProgress` is not used in any concrete target. The dependency `MBProgressHUD` is not used in any concrete target. The dependency `PSTCollectionView` is not used in any concrete target. The dependency `HPGrowingTextView` is not used in any concrete target. The dependency `ProtocolBuffers` is not used in any concrete target. The dependency `SCLAlertView-Objective-C` is not used in any concrete target. The dependency `MWPhotoBrowser` is not used in any concrete target. The dependency `Masonry` is not used in any concrete target. The dependency `TTTAttributedLabel` is not used in any concrete target. The dependency `SVWebViewController` is not used in any concrete target. The dependency `XHImageViewer` is not used in any concrete target. The dependency `ZXingObjC` is not used in any concrete target.
解决办法:
修改Podfile文件为
platform:ios, '7.0' target 'tea755271com' do //tea75271com为项目target名称 pod 'FMDB' pod 'SDWebImage' pod 'AFNetworking' pod 'DACircularProgress' pod 'MBProgressHUD' pod 'PSTCollectionView' pod 'HPGrowingTextView' pod 'ProtocolBuffers' pod 'SCLAlertView-Objective-C' pod 'MWPhotoBrowser' pod 'Masonry' pod 'TTTAttributedLabel' pod 'SVWebViewController' pod 'XHImageViewer' pod 'ZXingObjC' end