Build failing due to linking error

When I try to build my app on xcode, it fails with this error.

building for iOS Simulator, but linking in object file built for iOS, file '/Users/manas/Desktop/wingman-mobile/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn' for architecture arm64

Try to do a Clean Build Folder.

Please see Tech Note 3117, Resolving architecture build errors on Apple silicon, for details on what this error means.

Build failing due to linking error
 
 
Q