How did I solve the Could not build Objective-C module ‘Firebase’ error at flutter ?
I opened edit schemes in xcode and set the build configuration in debug mode and the problem was solved.
Make sure that debug mode is selected in the window that opens by selecting the edit scheme option under the runner in Xcode.
1