theos遇到*** first argument to `word' function must be greater than 0.的错误咋办~

我的原因是安装了两个版本的xcode,使用命令

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/就可以了

原文地址:https://www.cnblogs.com/GrowUP-EveryDay/p/5924513.html