Managing libraries in Xcode 4
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 worksp开发者_如何转开发ace, 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
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…"
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.
精彩评论