0

I just copied my project from my back up folder to another folder in desktop and its giving me this error. I have updated my pod again after removing FBSDKLoginKit still it's not working. If I remove this module and then build also some other pod will give the same error.

please don't mark it as duplicate as I need the root cause for this issue rather than the temporary solutions provided in different other threads like this one No Such Module 'FBSDKLoginKit' Xcode 9

4

3 回答 3

1

终于解决了这个问题。我使用 command + B 来构建我的项目,与 SVProgressHUD、FBSDKLoginKit 和 FBSDKShareKit 相关的错误消失了。

编辑:实际问题是 Xcode 存在一个错误,其中它无法识别已安装并添加到项目中的 pod。这就是为什么模块在编译时未发现错误的原因。之后我也遇到了与许多其他 pod 相同的构建错误。它只在有时太出乎意料地发生。唯一的方法是多次构建项目,直到它识别出模块并且错误消失。这听起来很疯狂,但没有其他到目前为止。如果有人找到永久修复此问题,请在此处更新。谢谢

于 2018-01-22T18:15:02.120 回答
0

我可以通过进入 Product -> Scheme -> Edit Scheme 然后在构建选项中检查“查找隐式依赖项”来解决此问题。似乎对我有用,希望这会有所帮助!

于 2019-04-24T06:37:55.870 回答
0

我通过删除整个 Pods/ 文件夹解决了我的问题,然后运行 ​​Pod install (我知道你已经解决了它,但以防其他人遇到它。)。

于 2019-12-01T07:52:49.683 回答