【发布时间】: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