解决cocoaPods插件报错:env: ruby_executable_hooks: No such file or directory 进入控制台 –> which GEM –> 删掉最后的/GEM后复制,到xcode设置GEM_PATH粘贴即可,亲测有效