Debug-iphonesimulator gtmsessionfetcher.framework swift没有这样的文件目录 [英] Debug-iphonesimulator gtmsessionfetcher.framework swift no such file directory
问题描述
我对编程还很陌生.我正在尝试将Firebase和Facebook iOS SDK安装到我的应用程序中,以允许Facebook身份验证.我已经在项目上安装了必要的Pod文件(FireBase)和框架(FBSDK).我正在尝试构建该应用程序,但是遇到以下错误.
I'm fairly new to programming. I am trying to install Firebase and the Facebook iOS SDK into my app to allow for Facebook authentication. I have already installed the necessary pod files(FireBase) and Frameworks (FBSDK) on to my project. I am trying to build the app now but I come across the following error.
/Users/JuanPa/Library/Developer/Xcode/DerivedData/jps-showcase-dytvwqtvwsggladxlmwwyoflurwt/Build/Products/Debug-iphonesimulator/jps-showcase.app/Frameworks/GTMSessionFetcher.framework:没有此类文件或目录
/Users/JuanPa/Library/Developer/Xcode/DerivedData/jps-showcase-dytvwqtvwsggladxlmwwyoflurwt/Build/Products/Debug-iphonesimulator/jps-showcase.app/Frameworks/GTMSessionFetcher.framework: No such file or directory
我已经尝试过:
- 更新我的Cocoapod
- 更新Firebase Pods
- 删除我的.xcworkspace并重新创建
- 删除我的派生数据
还有其他一些东西,但是那些是主要的,没有任何作用.我想这真的可以归结为GTMSessionFetcher.framework
找不到了吗?我搜索了我项目的Pods目录,找到了GTMSSessionFetcher> Source>,并在下面的图片中找到了文件.
And some other things, but those are the main ones, and nothing has worked. I guess it really comes down to the GTMSessionFetcher.framework
not being found? I searched into my Project's Pods directories and found the GTMSSessionFetcher > Source > and found the files in the picture below.
Pods目录:
任何人都可以帮忙吗?
推荐答案
对我来说,这是因为我使用的是Facebook Swift SDK,却忘了取消注释
For me it was because I was using the Facebook Swift SDK and I forgot to uncomment the
use_frameworks!
我的Podfile中的声明.
statement in my Podfile.
这篇关于Debug-iphonesimulator gtmsessionfetcher.framework swift没有这样的文件目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!