-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firebase_core: Failed to Build iOS App - Firebase Module Redefinition #16927
Comments
Hi @RahmiTufanoglu, I’m unable to reproduce this issue on my end. Could you try the potential solutions mentioned in this similar issue to see if they resolve it for you? |
@SelaseKay The solution in the linked issue did not work. I am using the swift package manager. |
Hi @RahmiTufanoglu, I'm unable to reproduce this issue. I enabled SPM, created a new Flutter project, and added |
@SelaseKay You used the latest firebase_core package and created a Flutter project based on version 3.27.1? |
Hi @RahmiTufanoglu, I'm still unable to reproduce this issue. Have you tried deleting your |
@SelaseKay Yes, I have. And your configuration looks like mine? |
Yes. It's the same. |
@SelaseKay My mistake. I forgot the configuration steps after 'flutterfire configure'. |
Is there an existing issue for this?
Which plugins are affected?
Core
Which platforms are affected?
iOS
Description
Description
When attempting to build the iOS app, the build process fails with errors related to a redefinition of the Firebase module and issues emitting a precompiled header for the bridging header file. This prevents the app from being built and launched on the simulator.
Environment
Expected Behavior
The app should build successfully without errors and launch on the simulator.
Observed Behavior
The following errors occur during the build process:
Additional Context
Workarounds Tried
Cmd + Shift + K
in Xcode).DerivedData
folder and rebuilt.pod deintegrate && pod install
.Runner-Bridging-Header.h
file for correctness.Request for Help
Podfile
, bridging header, or other configurations.Attachments
Podfile
Runner-Bridging-Header.h
Feel free to customize further with your specific environment details or any additional troubleshooting steps you’ve tried!
Reproducing the issue
Create a new Flutter project (v. 3.27.1) and integrate firebase_core 3.9.0
Firebase Core version
3.9.0
Flutter Version
3.27.1
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetReplace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
No response
The text was updated successfully, but these errors were encountered: