Home > Software engineering >  Cocoapods installation failure. Cocoapods requires your terminal to be using UTF-8 encoding
Cocoapods installation failure. Cocoapods requires your terminal to be using UTF-8 encoding

Time:11-24

To give you some context, I have an Unity project that I want to build for IOS. I have to use Cocoapods because I have Firebase in my Unity project. Now when I build my game, I get this error: here

When using "locale" in my terminal I get this result with empty LANG picture.

The error and most information on the internet tells me to do "Export LANG=en_US.UTF-8", but when I try this and do a Unity build again, the error stays because locale is empty again when checking in the terminal.

CodePudding user response:

Same issue, resolved myself by modifying ~/.bash_profile instead of ~/.profile. The issue was introduced happening sometime over the last 3 (??) months since I last built a firebase project.

  • Related