Wednesday, July 1, 2026
HomeiOS Developmentxcode - How can I exploit the prevailing firebase-ios-sdk dependency in my...

xcode – How can I exploit the prevailing firebase-ios-sdk dependency in my native swift code?

[ad_1]

I’m engaged on a Flutter app that makes use of the FlutterFire firebase_messaging bundle.

I would like so as to add supply stories to my app, however the FlutterFire library doesn’t help this.

So I have to implement this native swift code.

However for this code to compile I have to add the firebase-ios-sdk bundle to my ‘Runner’ venture.

When constructing I now get the error…

Error (Xcode): redefinition of module 'Firebase'

As a result of each my Runner venture and the FlutterFire dependency are each together with the firebase-ios-sdk.

How can I import FirebaseMessaging in native swift code, whereas utilizing the firebase-ios-sdk dependency that FlutterFire already imports?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments