'cocoapods用于facebookSDK时找不到文件FBSDKAppEvents.h'

问题描述 投票:0回答:1

[我正在尝试使用RN应用中的cocoapods更新FacebookSDK,但我不断收到错误消息:

找不到'FBSDKAppEvents.h'文件。

在FBSDKCoreKit.h文件中

我的pod文件是

target 'App' do
  use_frameworks!

  # Pods for App
  pod 'FBSDKCoreKit'
  pod 'FBSDKLoginKit'
  pod 'FBSDKShareKit'
end
ios swift react-native cocoapods facebook-login
1个回答
0
投票

尝试使用此吊舱

target 'App' do
  use_frameworks!

  # Pods for App
  pod 'FacebookSDK'
  pod 'FBSDKCoreKit'
  pod 'FBSDKLoginKit'
  pod 'FBSDKShareKit'
end
© www.soinside.com 2019 - 2024. All rights reserved.