没有这样的模块FBSDKCoreKit错误 [英] No such module FBSDKCoreKit error

查看:381
本文介绍了没有这样的模块FBSDKCoreKit错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Facebook SDK添加到Xcode中的iOS 9.0 Swift应用程序。我根据FB-dev说明进行了安装。但是,当我添加标题到我的AppDelegate.m文件导入FBSDKCoreKit我不断收到一个消息说没有这样的模块'FBSDKCoreKit'错误。

I am trying to add the Facebook SDK to my iOS 9.0 Swift app in Xcode. I did the install according to the FB-dev instructions. However, when I add the header to my AppDelegate.m file import FBSDKCoreKit I keep getting a message saying "No such module 'FBSDKCoreKit'" error .

根据我的在其他地方阅读

Based on what I read elsewhere


  1. 我已经清理了构建并重新安装了Xcode并更新了
    我的OS X

  2. 我已经仔细检查了plist和框架文件FB列表中的
    的说明,但没有什么似乎缺少。

  3. 我设置了模块化在框架模块中包含
    在构建设置中设置为YES。

没有什么可以工作。我不知道从这里去哪里,做了几个小时的研究,试图找到解决方案。

Nothing seems to work. I do not know where to go from here and have done hours of research trying to find the solution.

推荐答案

当您导入框架,确保您已选择如果需要复制。如果这部分是不是,则Xcode 6.3之后的版本似乎会出现问题。

When you are importing the frameworks, Make sure you have selected "Copy if needed" . Version after Xcode 6.3 seem to be giving issues if this part is NOT ticked.

这篇关于没有这样的模块FBSDKCoreKit错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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