3

I'm currently trying to import the facebook-ios-sdk into one of my projects. My approach is to import my project and the project of the facebook-ios-sdk into one workspace, but my project can't find the header files of the facebook sdk. I thought that the files in one workspace will be shared isn't it? How can I import the facebook-ios-sdk to my project without copying the files directly into my project?

thanks

LeonS
  • 2,684
  • 2
  • 31
  • 36

2 Answers2

0

I hope to understand what you want. I'm using facebook-ios-sdk, and I added all files in directoctory src (.m and .h) in my project with right click, "add files to…"Project screenshot

TheRonin
  • 1,305
  • 1
  • 12
  • 18
  • this is the way according to the readme on github, but I manage the facebook sdk as a submodule in GIT and if new files will be added, Xcode cant recognize that, isn't it? – LeonS May 04 '11 at 13:40
  • White font on a black background. You must be missing the VT220 and 3270 terminals badly... – Codo May 04 '11 at 13:42
  • @Codo White font on a black background is so soothing no ?… – TheRonin May 04 '11 at 15:17
0

Try step 3 of this answer: “lexical or preprocessor issue file not found ” in Xcode 4

3 - Create a group call "Indexing headers" in your project and drag the headers to this group, DO NOT add to any targets when prompted.

Community
  • 1
  • 1
Richard Stelling
  • 25,607
  • 27
  • 108
  • 188
  • I want to be independent from the imported framework. So I think just adding the headers would not be the best way – LeonS May 04 '11 at 13:39