Title: How to resolve 'FIRApp' has different definitions in different modules; first difference is definition in module 'FirebaseCore?
Tags: ios;react-native;react-native-ios
Question: Im migrating from xcode 11.7 to xcode 12. I tried building the app from xcode 12 and then these errors showed up. Do you have any solutions? Thanks in advance!




Here is another answer: For those looking for the solution I found it here https://stackoverflow.com/a/41102620/4444250
Solution:
Open the file ios/ProjectName/AppDelegate.m and you need to replace the import
from  @import Firebase
to  #import <Firebase/Firebase.h&gt;


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2021:00:04/30/21', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<ios><react-native><react-native-ios>', 'Title': "How to resolve 'FIRApp' has different definitions in different modules; first difference is definition in module 'FirebaseCore?", 'ViewCount': 159, 'id': 67337344, 'user_AboutMe': '', 'user_AccountId': 5611769.0, 'user_DisplayName': 'DEV-0', 'user_Reputation': 63.0, 'user_Views': 11.0, 'user_id': 4444250.0}}