本文介绍了Xcode始终显示"FBSDKShareKit/FBSDKShareKit" .h文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论我做什么(可能做错了),当我尝试构建统一的IOS应用进行测试时,Xcode始终会显示"FBSDKShareKit/FBSDKShareKit" .h文件.

No matter what I do (I may be doing it wrong) When I try to build my unity IOS app for testing, Xcode always says ‘FBSDKShareKit/FBSDKShareKit’.h file not found.

我已经在Xcode项目的iOS快速入门中添加了Facebook SDK.从Facebook SDK文件夹中,将文件夹FBSDKCoreKit.Framework,FBSDKLoginKit.Framework,FBSDKShareKit.Framework拖到Xcode Projects Framework文件夹中.然后按所述配置info.plist,当然提供了捆绑包标识符.它也带来了同样的问题.老实说,我在这个问题上花了6个多星期.我正处于精神和身体崩溃的边缘,快要被解雇了.请提供一些建议.我在同一页面上尝试了所有其他答案,但是没有用.请帮忙!

I’ve added the Facebook SDK indicated in the Quick Start for iOS in the Xcode Project.From the Facebook SDK folder, dragged the folder FBSDKCoreKit.Framework, FBSDKLoginKit.Framework, FBSDKShareKit.Framework into your Xcode Projects Framework folder. Then configured info.plist as stated and of course supplied the bundle identifier. And it gives the same problem. Honestly I have spent more than 6 weeks on this single issue. I’m in the verge of mental and physical collapse and close to be fired. Please give some kind of advice. I’ve tried all the other answers in this same page but non work. Please help!!

推荐答案

我在XCode 10中遇到了这个问题!以此方式排序:

I had this problem with XCode 10!!!Sorted in this way:

  • 选择Libraries > RCTFBSDK.xcodeproj
  • 选择Build Settings > Framework Search Paths
  • ~/Documents/FacebookSDK替换为$(HOME)/Documents/FacebookSDK(带括号!)
  • Select Libraries > RCTFBSDK.xcodeproj
  • Select Build Settings > Framework Search Paths
  • Replace the ~/Documents/FacebookSDK to $(HOME)/Documents/FacebookSDK (with parentheses!)

信不信由你,现在就行了!

Believe it or not, now it works!

这篇关于Xcode始终显示"FBSDKShareKit/FBSDKShareKit" .h文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 19:57