iOS_Developer
iOS_Developer

Reputation: 495

No such module 'Firebase'” when add Firebase into a dynamic framework

I just created new Framework and added Firebase via CocoaPods, when build the framework it succeed.

But when I add that framework to other project via CocoaPods as well, then build project, and it raise an error: No such module 'Firebase'

I have added dependency to .podspec file, but still same error spec.dependency "Firebase"

Anyone can help me please ?

I know this question is there on stack overflow but no solution provided "No such module 'Firebase'" when add Firebase into a library

Upvotes: 0

Views: 231

Answers (1)

Paul Beusterien
Paul Beusterien

Reputation: 29547

There's no reason to add Firebase as a dependency to other podspecs. It's a wrapper pod for other pods only and is useful so that Podfile users can get any Firebase modules imported with a single import Firebase.

podspec's should depend on the specific Firebase pods needed.

Upvotes: 0

Related Questions