有时候用theos创建了工程后不能make,并且会报如下错误:
/Users/xxx/xxproject/theos/makefiles/targets/Darwin/iphone.mk:12: *** first argument to `word' function must be greater than 0. Stop.
解决方法如下:回到跟目录下,然后
输入如下命令:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
之后再执行make就能编译通过了。
/Users/xxx/xxproject/theos/makefiles/targets/Darwin/iphone.mk:12: *** first argument to `word' function must be greater than 0. Stop.
解决方法如下:回到跟目录下,然后
输入如下命令:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
之后再执行make就能编译通过了。
此方法是从github上找到的,原文链接:https://github.com/DHowett/theos/issues/18
http://blog.sina.com.cn/s/blog_667126df01013qgk.html