【问题标题】:'FBSDKCoreKit/FBSDKSettings.h' file not found未找到“FBSDKCoreKit/FBSDKSettings.h”文件
【发布时间】:2022-07-06 16:07:16
【问题描述】:

我在我的 IOS 项目中启用了react-native-fbsdk-next。现在我想在我的项目中添加react-native-fbads。我已经用纱线安装了它并运行了pod install。但是当我从 xcode 运行项目时,它会抛出这个错误'FBSDKCoreKit/FBSDKSettings.h' file not found。我不知道在这里做什么。我尝试清除缓存,重新启动一切。但没有任何效果。我的 Podfile 中还有以下内容:

use_frameworks!

  pod 'FBSDKCoreKit'
  pod 'FBSDKLoginKit'
  pod 'FBSDKShareKit'
  pod 'FBAudienceNetwork'

【问题讨论】:

  • 您是否将#import 添加到 AppDelegate.m 中?
  • 是的,我做到了。 @shenithsandeepa

标签: ios reactjs react-native


【解决方案1】:

这也发生在我身边,你们是否以某种方式解决了这个问题?这个问题有答案吗?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-06-19
    • 2015-07-20
    • 1970-01-01
    • 1970-01-01
    • 2021-09-27
    • 1970-01-01
    相关资源
    最近更新 更多