Cocoapods won't work on new m1 mac Big Sur Xcode or missing one or more architecture arm64_86.
To remove error of arm64_86 in m1 chip Mac you need to set architecture flag in build settings. For this follow below steps :
- Select main project and go to build settings.
- In build settings find field of Excluded architecture and add ‘arm64’ to it.
- Follow same thing on pods project as well. Select pod project and go to build settings for add Excluded architecture flag.
- After adding flag to both project you can build project successfully.