JAK
JAK

Reputation: 6491

How to set path for 'Header Search path' when adding 3rd party library to iPhone app

I want to add a 3rd party library Speech-To-Textto my Xcode project. I just drag xcodeproj file in my iPhone project.Then I did follow steps like Target Dependencies,Link Binary with libraries and set Header Search path. But I confused in how to set Header search Path properly.Then I import #import SpeechToTextModule.h' that time i got error like SpeechToTextModule.h file not found.Please help me.

Thanks in advance!!!

Upvotes: 5

Views: 20063

Answers (2)

Vinay Bagale
Vinay Bagale

Reputation: 2461

enter image description here

Following are the steps to add header search path for external 3rd party libraries :

  1. Select build settings of project
  2. Select Header Search Paths property from settings
  3. Add header directory, dont forget last /and surrounding quotes

Upvotes: 9

SPrabhu
SPrabhu

Reputation: 313

For static library, along with library we need to add header files to Xcode project.

Upvotes: 0

Related Questions