If you are building your iOS game on an Apple M1 chipset machine, you may run into issues with cocoapods.
How to fix
1. Please, open a Terminal and under your Unity XCode generated project folder, type:
arch -x86_64 pod install --repo-update
2. If this does not resolve the issue for you, then please do:
gem uninstall cocoapods
and then,
brew install cocoapods
If you are still experiencing issues after having tried these fixes, then please get in touch with our team using by filling out our support form.