could not build objective-c module 'firebase' mac m1 code example
Example: Could not build Objective-C module 'Firebase'
In Xcode, Go to Product -> Scheme -> Select New Scheme.
Then choose FirebaseCore as Target and Name.
Now build the project and then change back to your app target