For M1 mac

In m1 MACs run sudo arch -x86_64 pod install --allow-root to resolve this issue.

For M1 mac
 
 
Q