It took me some time to get XCode to locate the Facebook sdk.
I added ‘....../facebook-ios-sdk/src ‘ into ‘Header Search Paths’ in ‘Project Settings’ (the ‘Header Search Paths’ in the ‘Target Info’ does not show the directory however) , and use:
#import "FBConnect.h"
,
instead of #import "FBConnect/FBConnect.h"
, then the XCode can locate the facebook sdk.
As the 'FBConnect.h'
is directly under the /src, where is the 'FBConnect'
? What does "FBConnect/FBConnect.h"
mean? Do you guys use #import "FBConnect/FBConnect.h"
without manually adding a 'FBConnect'
directory or Group in XCode?