Reputation: 495
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
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