今天拉了个新项目,提示pod文件缺失,于是像往常一样 ,在项目的目录下输入 po update ,会报如下的错误。

看到这个错误抓住关键字 target 没有正确的目标,说明没有找到。我的解决方法是,在项目的profile文件里面加入一段话。target "项目名" do + end

接下来 再update一次

就好了。
今天拉了个新项目,提示pod文件缺失,于是像往常一样 ,在项目的目录下输入 po update ,会报如下的错误。
看到这个错误抓住关键字 target 没有正确的目标,说明没有找到。我的解决方法是,在项目的profile文件里面加入一段话。target "项目名" do + end
接下来 再update一次
就好了。
本文标题:cocapods 1.0.1 版本update 问题
本文链接:https://www.haomeiwen.com/subject/evsqsttx.html
网友评论