Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

ios - 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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.6k users

...