Thanks for the quick response.
After a little bit more research I realized that the firebase ios sdk is meant for native ios development, and when using flutter all of the dependencies are strictly to be placed in the pubspec.yaml file.
Having the firebase ios sdk added into xcode was causing this issue; Removing the dependency from xcode solved the issue for me.