[英]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:互联网说,我需要:
But this tutorial doesnt work for me.. Is there anyone, who had a another solution?但是本教程对我不起作用.. 有没有人有另一种解决方案?
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.