Reputation: 1268
It is a very basic question, But i did not find solution...
I am trying to import a .h file from the integrated project in to my project. It says SpeechToTextModule.h file not found
I go through these links..
Xcode 4.2 how include one project into another one?
What is Header Search Path in Xcode 4.3? How to use it?
My project Architecture:
I am trying to import the "SpeechToTextModule.h" in "ViewController.h"
see the above image once .. i selected speechToText.xcodeproj then "show in Finder" then "Get Info" i got following path
/Users/stellent/Documents/Sppech2Text/Speech2ooText/3rd Party
i placed the above path in Header Search Paths
is this correct?
I set my header search paths in both Projects and Targets also, and i tried in both recursive and non-recursive
i given all these links like below image
This is my project structure:
Upvotes: 0
Views: 728
Reputation: 3455
Copy SpeechToText Project and put it inside folder containing Speech2ooText project.
Now Drag and drop this (SpeechToText) project inside Speech2ooText Project.
Go to Build Settings of Speech2ooText--> Header Search Paths and add this path
${SRCROOT}/3rd Party
${SRCROOT} --> it is the path to your main project (Speech2ooText in your case) and by
giving '/3rd Party' we are telling headers are inside this folder.
Upvotes: 1