the command path could not be resolved

最近集成cocoapods-xcode-plugin-master后,再更新第三方库失败的问题?

问题如下

the command path could not be resolved_第1张图片

每次更新的时候都会报 Resolved command path for "pod" is invalid.的path路径错误,搜索了一下度娘,才知道默认的搜索路径不对 /usr/bin

the command path could not be resolved_第2张图片

尝试了好几种方法,最终解决了

解决方法:

在终端输入命令

$ which pod  命令查看CocoaPods的安装路径

the command path could not be resolved_第3张图片

然后将GET_PATH改为搜索到的路径,关闭xcode重新update一下就可以了

希望能帮到你,

对于没有明白的看看这个:


the command path could not be resolved_第4张图片

你可能感兴趣的:(the command path could not be resolved)