美文网首页
[!] Invalid `Podfile` file: synt

[!] Invalid `Podfile` file: synt

作者: 薄凉_简书 | 来源:发表于2017-05-16 12:04 被阅读79次

CocoaPods编码问题解决

co1.png

查看编码,终端中输入:locale

co2.png

发现都是zh,需要转换一下,终端中输入:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
就👌了。

co3.png

最好把之前生成的podfile文件删除,再重新走一遍。

相关文章

网友评论

      本文标题:[!] Invalid `Podfile` file: synt

      本文链接:https://www.haomeiwen.com/subject/fshlxxtx.html