关于ios:在Xcode项目中找不到Firebase文件

Firebase file not found in Xcode Project

我的Firebase突然停止了在Xcode项目中的工作。

我遇到两个错误。在我的Viewcontroller.swift中:

Could not build Objective-C module 'Firebase'

并在我的Firebase.h文件中:

'FirebaseAnalytics/FirebaseAnalytics.h' file not found"

我想我知道问题出在哪里,但我不知道如何解决。我的FirebaseAnalytics / FirebaseAnalytics.h文件称为FirebaseAnalytics / FirebaseAnalytics.h.icloud,我不知道如何删除.icloud扩展名。

我的框架看起来像。 Frameworks

我的pod文件看起来像Podfile

到目前为止,我已经尝试过:更新cocoapods和运行pod安装,以及清理和重建我的项目都没有成功。

任何提示或帮助都将不胜感激。


您似乎正在使用iCloud Drive。
.iCloud扩展名意味着iCloud已将占位符文件同步到您的计算机。指向存储在云中的原始内容的链接。

一种情况是您试图将文件夹或文件移动到另一个位置,并且发生了这种情况:

icloud

Your original file is gone. Ita€?s gone from iCloud Drive, and it exists nowhere on your hard drive.

In their place, is a file named FILENAME.original-extension.icloud. This file, only a couple kilobytes in size, is the placeholder that OS X uses to pretend that the file existed on your system. Your original file is gone. Ita€?s gone from iCloud Drive, and it exists nowhere on your hard drive.

OS X可以使用它们从iClouda的服务器下载原始文件吗?

不,它们不见了。

尽管可以通过登录Web界面并进入设置并单击数据来从iCloud恢复文件


n