从 pod 文件使用 Appdelegate 并访问 firebasemessaging pod 显示未找到 pod 错误
我陷入了这样一种情况,在 pod 中使用 appdelegate
类,因为基础项目中的 appdelegate
正被用于其他分支并尝试添加 firebase,但是在导入中出现“'FirebaseMessaging/FirebaseMessaging.h'文件未找到”
错误,你们的任何帮助都会挽救我的日子。我尝试了很多解决方案,但还没有成功,清理、重新启动、完全删除后重新安装 Pod,做了很多次但没有任何进展。我将给予赏金感谢你的帮助。
请在评论中提问以获取更多详细信息。
I'm badly stuck in a situation where appdelegate
class is being used in pods because of appdelegate
in the base project that is being used into other branches and trying to add firebase but getting an error of "'FirebaseMessaging/FirebaseMessaging.h' file not found"
in the import, any help from you guys will save my days. I tried many solution but no luck yet, clean, restart , reinstalled pods after completely removed, did a lot times but no progress. I will give a bounty appreciation for your helps.
Please ask questions in the comments for more details.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,我已经通过清除 CocoaPods 缓存并重新下载来解决它。按照此操作 - https://stackoverflow.com/a/76538225/7728628
I was facing kind of the same issue, I have solved it by clearing CocoaPods cache and redownloading it. Follow this - https://stackoverflow.com/a/76538225/7728628