Search code examples
xcodefacebook-sdk-4.0search-path

Xcode: how to add Framework Search Paths to search paths


enter image description hereI'm trying to set up FacebookSDK in my react native app. when I build the project in Xcode I got an error,

'FBSDKCoreKit/FBSDKCoreKit.h' file not found

the solution for this is to add a path to "Framework Search Paths" but I can't find then in build setting -> search paths. there is a way the add them to settings?enter image description here


Solution

  • As seen in the screenshot you have selected target as opaccityappClientTests. Instead please select opactiyAppClient and you can see framework search path in build settings and also please select all instead of basic near to search field