https://stackoverflow.com/questions/59405671/ios-cocoapods-requires-your-terminal-to-be-using-utf-8-encoding-after-latest
Step 1) vi ~/.zshrc
press 'i' to edit
export PATH="$PATH:/Users/innostrategies/dev/flutter/bin"
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
esc and then press :w
press :q
https://dev.to/staceypyee/installing-cocoapods-on-m1-macbook-air-big-sur-h0l
Step 2) Go to the project directory
$ cd macos
$ sudo arch -x86_64 gem install ffi
$ arch -x86_64 pod install