Configuring Xcode for CocoaPods Plugin

I am trying to configure a terminal / Xcode for the Xcode CocoaPods Plugin to work correctly .

When I start the integration of the cocoapods option from the plugin, I get the message:

[33mWARNING: CocoaPods requires your terminal to use UTF-8 encoding. See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for possible solutions. [0m

I was looking for the answer to this question, but I can not find it. It seems like permission is to do the following:

export LC_ALL="en_US.UTF-8"

I'm not sure how to do this? I ran this in the terminal, and then when I output the locale, I see the following:

LANG="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_CTYPE="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"

However, when I close / open the terminal, LC_ALL is empty again. Is there something I should run after this?

EDIT - http://perlgeek.de/en/article/set-up-a-clean-utf8-environment, - , , .

+4
3

, , .

- , (,.bashrc locale defaults). , .

- , , , Cocoapods, script.

, :

- cmd-option-R

Build Pre-actions

New Run Script Action

script :

export LC_ALL="en_US.UTF-8"

. :

enter image description here

+6

.rc .

, CocoaPods, , , , .

O'Reilly Unix , .

.bashrc .bash_login, , bash .

bash dot fooobar.com/questions/907/.... .

, . , , (Pods ) , - , :

echo "running .bashrc"

( ) . Shell - Objective-C

0

Press cmd-option-R and do something similar to the one in the screenshot:

enter image description here

0
source

All Articles