错误:无法构建 Objective-C 模块“Firebase" [英] Error: Could not build Objective-C module 'Firebase'

查看:24
本文介绍了错误:无法构建 Objective-C 模块“Firebase"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我编译应用程序时,我得到一个与此相同的错误:

When I compile the application I get an error equal to this:

无法构建 Objective-C 模块Firebase"

Could not build Objective-C module 'Firebase'

此错误出现在我的文件 swift 的 import Firebase 中.

This error appear in import Firebase of my file swift.

推荐答案

只有一种方法可以解决这个问题.

There is only one way to solve this issue.

  1. 退出 Xcode.
  2. 删除位于 ~/Library/Developer/Xcode/DerivedData
  3. 的项目临时文件
  4. 删除ProjectName.xcworkspace
  5. 删除Podfile.lock文件和Pods文件夹
  6. 运行pod install.
  7. 打开新创建的 ProjectName.xcworkspace 文件并构建.
  1. Quit Xcode.
  2. Delete project's temp files located at ~/Library/Developer/Xcode/DerivedData
  3. Delete ProjectName.xcworkspace
  4. Delete Podfile.lock file and Pods folder
  5. Run pod install.
  6. Open the newly created ProjectName.xcworkspace file and build.

这篇关于错误:无法构建 Objective-C 模块“Firebase"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆