2

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.

  • 1
    Does this answer your question? [iOS - CocoaPods requires your terminal to be using UTF-8 encoding - after latest flutter upgrade](https://stackoverflow.com/questions/59405671/ios-cocoapods-requires-your-terminal-to-be-using-utf-8-encoding-after-latest) – Protocol Nov 23 '21 at 17:34
  • No, because I allready visited that link and probably tried every solution in their, but atleast thank you for the help. – Vincent Lauwen Nov 23 '21 at 18:20

1 Answers1

2

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.

Alex Ferrier
  • 389
  • 4
  • 14
  • Thank you, after the direction you sent me in and a bit more research, I found out that my .profile folder was missing. After getting to know how to create one and filling it in (export LANG=en_US.UTF-8), it was then a simple new Unity build and poof begone error. – Vincent Lauwen Nov 24 '21 at 12:56
  • Modifying .bash_profile instead of .profile fixed this issue for me. thanks! – goodspeed Feb 02 '22 at 22:43