cocoapods 路径找不到,无法导入github项目

来源:互联网 发布:淘宝买家订单信用清洗 编辑:程序博客网 时间:2024/06/10 12:56

问题描述:


[!] The dependency SDWebImage (~> 3.7.5) is not used in any concrete target.


或者类似


[!] Could not automatically select an Xcode project. Specify one in your Podfile like so:

project 'path/to/Project.xcodeproj'

解决方案


platform :ios, ‘8.0’

xcodeproj ‘你的工程名.xcodeproj’

target ‘工程名’ do

pod ‘SDWebImage’, ‘~> 3.7.5’

end


究其原因


由于你多次移动你项目的路径,以至于再次update你的Podfile项目时,出现找不到工程路径的问题。


0 0
原创粉丝点击