本文介绍了FBSDKCoreKit / FBSDKCoreKit.h未找到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在实施FB登录,因此我从。
然后我拖放n下来 FBSDKCoreKit FBSDKLoginKit FBSDKShareKit 框架到我的项目中。



当我运行项目时它工作正常。但是当我关闭并重新打开它时,出现FBSDKCoreKit / FBSDKCoreKit.h not found error。然后我再次粘贴 FBSDKCoreKit 框架到我的项目库
中,并且错误消失,并且此过程继续。任何人都遇到过这个问题吗?



我应该怎么做才能解决这个错误?

解决方案请确保按照以下步骤操作:

取消选择将项目复制到目标组的文件夹中。
https://developers.facebook.com/docs/ios/getting-started/

另外,在你的Build Settings中,看看这个字段:Framework Search Paths
你应该有这样的内容:
/ Users / [用户名] / Documents / FacebookSDK



另外,查看Finder并确保框架实际存在

I am implementing FB Login so i Downloaded the SDK from https://developers.facebook.com/docs/ios.then i drag n down FBSDKCoreKit, FBSDKLoginKit and FBSDKShareKit frameworks into my project.

when i ran project it works fine. but when i closed and reopen it, then "FBSDKCoreKit/FBSDKCoreKit.h not found error" appears. then again i copy paste FBSDKCoreKit framework into my project's library and error disappear and this process continues. anyone faced this problem before?

what should i do to solve this error?

解决方案

Make sure to follow this step:

Deselect Copy items into destination group's folder.https://developers.facebook.com/docs/ios/getting-started/

Also, in your Build Settings, look at this field: "Framework Search Paths"You should have something like this:/Users/[username]/Documents/FacebookSDK

Also, look at Finder and make sure that the framework is actually there

这篇关于FBSDKCoreKit / FBSDKCoreKit.h未找到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 06:08