I am using IntelliJ AppCode for my project. When I try to use cocoadpods from AppCode's terminal, I get the following warning:
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
I am using bash as my shell in AppCode (is zsh by default) and my Mac's terminal uses bash, too (was zsh).
I can execute pod commands just fine within the Mac's terminal.
I have also added the file .profile in my home dir and added the line
export LANG=en_US.UTF-8
and tried to close AppCode and even restarted my mac. but it doesnt seem to work.
You can set the env vars mentioned by @saschpe in Preferences > Tools > Terminal in "Environment Variables". Works for me, also in Fish shell