Sudhir Singh Khanger
06/12/2023, 5:32 PMExecution failed for task ':shared:podInstall'.
> 'pod install' command failed with code 1.
Full command: pod install
Error message:
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
[0m
/usr/local/Cellar/ruby@3.0/3.0.6/lib/ruby/3.0.0/unicode_normalize/normalize.rb:141:in `normalize': Unicode Normalization not appropriate for ASCII-8BIT (Encoding::CompatibilityError)
I have added the following in the ~/.zprofile
file.
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
There is only one podfile in the root of the project where I have already run pod installDima Avdeev
06/12/2023, 7:18 PMbrew install kdoctor
kdoctor
It will help to investigate what's wrong with the environmentSudhir Singh Khanger
06/12/2023, 7:51 PMKimJason
06/13/2023, 1:40 AMiosApp %
rm -rf Pods
rm Podfile.lock
pod install
and, try again!Sudhir Singh Khanger
06/13/2023, 3:42 AMsudo gem install cocoapods
Sudhir Singh Khanger
06/13/2023, 3:44 AMiosApp %
meaning I should be in that folder? But I think the podfile is in root folder.KimJason
06/13/2023, 3:46 AMSudhir Singh Khanger
06/13/2023, 4:46 AMSudhir Singh Khanger
06/13/2023, 4:47 AM➜ iosApp git:(main) pod install
Analyzing dependencies
Downloading dependencies
Installing shared (1.0.0)
Generating Pods project
Integrating client project
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
KimJason
06/13/2023, 4:57 AMSudhir Singh Khanger
06/13/2023, 4:58 AMKimJason
06/13/2023, 5:02 AMKimJason
06/13/2023, 5:02 AMAlHussain96
06/13/2023, 9:30 AMexport LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
to two file
/.profile
/.zprofile
and the problem didn't solve after that I change the mac user then back to the user and the project build successfully,
it seems that the changes in terminal command have applied after re-login to user,Sudhir Singh Khanger
06/13/2023, 6:46 PM