简体   繁体   English

有没有人可以帮助我完成我的 Swift 项目? 我有一个 Firebase 错误

[英]Is there anyone who can help me with my Swift Project? Ive got an Firebase error

If i want to build my old Projekt in Xcode i've got th e following errors:如果我想在 Xcode 中构建我的旧 Projekt,我会遇到以下错误:

/Users/xxx/Desktop/development/xxx/ios/Pods/Firebase/CoreOnly/Sources/Firebase.h:15:9: 'FirebaseCore/FirebaseCore.h' file not found /Users/xxx/Desktop/development/xxx/ios/Runner/AppDelegate.swift:17:8: Could not build Objective-C module 'Firebase' /Users/xxx/Desktop/development/xxx/ios/Pods/Firebase/CoreOnly/Sources/Firebase.h:15:9:找不到“FirebaseCore/FirebaseCore.h”文件/Users/xxx/Desktop/development/xxx/ ios/Runner/AppDelegate.swift:17:8: 无法构建 Objective-C 模块“Firebase”

The Internet said, that i need to:互联网说,我需要:

  1. Exit Xcode出口 Xcode
  2. Remove the Temp Data from Xcode从 Xcode 中删除 Temp 数据
  3. Remove Pods folder, Podfile.lock and project.xcworkspace删除 Pods 文件夹、Podfile.lock 和 project.xcworkspace
  4. pod install吊舱安装
  5. Run Xcode运行 Xcode

But this tutorial doesnt work for me.. Is there anyone, who had a another solution?但是本教程对我不起作用.. 有没有人有另一种解决方案?

  • Setup: IOS 14设置:IOS 14
  • Xcode 12.0 beta 2 Xcode 12.0 测试版 2
  • Swift 5 Swift 5

Thanks a lot!非常感谢!

shift + command + k

have you tried to clean build?你试过清理构建吗? because I have this issue very often when uses firebase.因为我在使用 firebase 时经常遇到这个问题。

and sometimes it fix itself by doing this steps repeatedly clean build -> exit xcode -> run xcode -> try different simulator -> clean,有时它会通过重复执行此步骤来修复自己清理构建 -> 退出 xcode -> 运行 xcode -> 尝试不同的模拟器 -> 清理,

I got same problem after '$ pod update' then I did:在'$ pod update'之后我遇到了同样的问题然后我做了:

1. Shift + alt + k at Xcode (clean).
2. Closed Xcode.
3. $ pod deintegrate
4. Deleted .xcworkspace (pay attention to not delete wrong file !!!)
5. $ pod repo update
6. $ pod install

and it's go back.它是 go 回来。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我在我的应用中遇到了NSInvalidArgumentException错误……任何擅长此操作的人都请帮助我 - i Got NSInvalidArgumentException error in my app… anyone good at this please help me 有谁可以帮助我在优胜美地10.10.2上构建iOS Linphone? - Is there anyone who help me to build iOS linphone on Yosemite 10.10.2? 我想快速制作一个翻译应用程序。 谁能帮我? - I want to make a translation app in swift. Can anyone help me? 谁能帮我拆卸EXPO应用程序 - Can anyone help me to detach expo app 谁能帮我解决这个xcode问题? - Can anyone help me with this xcode issue? 谁能帮助我知道我的应用程序是否可以将其带入App Store? - Can anyone help me know if my app can get it into the App Store? 谁能帮助我了解为什么我的PFUser子类在save()上崩溃? - Can anyone help me understand why my PFUser subclass crashes on save()? 我在执行过程中遇到此问题“使用NSException类型的未捕获异常终止”,有人可以帮助我吗? - I got this issue “Terminating with uncaught exception of type NSException” with my execution, can anybody help me with this? 谁能帮助我使用 swift 实现具有不同半径和角度的 coxcomb 饼图? 我想实现饼图 - can anyone help me out for implementation of coxcomb pie chart with different radii and angles using swift? i want to implement pie chart 谁能帮我这个? 我无法理解这个 - can anyone help me with this ? I can't understand this
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM