Facebook框架已添加到项目中,但仍显示诸如“没有此类模块FBSDKCoreKit"之类的错误. [英] Facebook Framework is already added in project but still shows errors like "No such module FBSDKCoreKit"
问题描述
我正在将FB SDK集成到我的swift项目中,并遵循此链接以及我遵循的此链接.我也在import FBSDKCoreKit
中
appDelegate.swift
文件,但我总是收到
I am integrating FB SDK in my swift project and i follow this link and also this link i followed. I also import FBSDKCoreKit
in
appDelegate.swift
file but i am always getting the error like
没有这样的模块FBSDKCoreKit"
"No Such Module FBSDKCoreKit"
我找到了一些解决方案,甚至我尝试了大部分这些答案我也尝试了这些答案,并且还遵循了此链接,即使我在项目中添加了桥接头文件并将FBSDK导入到该文件,但仍然可以每次都会出错,而最近三天我都被困在这里.
I found some solution and even i tried most of these answers also i tried these answers and also followed this link, even i added bridging-header file to project and import FBSDK to that file but still i am getting errors every time and i am stuck here from last 3 days.
如果您有除此给定链接以外的任何解决方案,请帮助我,因为我是Swift的新手
If you have any solutions except this given link please help me as i am new to Swift
谢谢.
推荐答案
打开您的项目
将FBSDKCoreKit模块删除到链接的框架和库中,然后再次添加它,然后清理并构建您的应用程序,错误将消失.
Remove FBSDKCoreKit module into linked frameworks and libraries and add again it and clean and build your app your error will be gone.
快乐的编码.
这篇关于Facebook框架已添加到项目中,但仍显示诸如“没有此类模块FBSDKCoreKit"之类的错误.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!