问题描述
我经常收到错误消息"No such module Crashlytics",通常我会花几个小时清理构建文件夹,重新安装所有内容,运行pod install等来解决该问题,但是我对此已经感到厌倦,并且想解决一次该问题并为所有人.
I constantly get an error "No such module Crashlytics" and I usually resolve it with hours of cleaning build folder, reinstalling everything, running pod install, etc, but I'm getting tired of this and want to fix the problem once and for all.
我的Podfile包含以下条目:
My podfile contains this entry:
pod 'Crashlytics', '~> 3.14.0'
我怀疑问题可能是我的项目位于icloud目录中,有时它并没有为了节省驱动器空间而在本地下载所有内容,但是这两种方式都是我所看到的,并需要一些帮助:
I suspect the issue may be that my project is in an icloud directory and sometimes it doesn't download everything locally in an attempt to save drive space, but either way here is what I am seeing and would like some help:
我在导航树中的窗格(注意Crashlytics)
现在有趣的是,当我直接添加框架(链接二进制与库)时,除Crashlytics之外,我的Pods位置中还有其他所有模块!
Now what's interesting is that when I go to add the framework directly (Link Binary with Libraries) that all the other modules are there in my Pods location except Crashlytics!
所以在这里您可以看到Pod中不存在!
有什么想法吗?我怀疑这是为什么它没有看到的重要原因.
Any ideas what's going on? I suspect this is an important reason why it is not seeing this.
谢谢!
推荐答案
尝试执行以下操作:
删除所有4个Pod相关文件:
Delete all 4 pods related files:
- Podfile
- Podfile.lock
- yourprojectname.xcworkspace
- Pods文件夹
然后使用 pod init
和 pod install
这篇关于没有这样的模块Crashlytics-Pod似乎丢失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!