Ereka
Ereka

Reputation: 103

Should I specify any path to access the header files in Xcode?

I have the source code for a video decoder. The code was executed without any problem on the MAC terminal.

Now, I need to port it on iOS. The source code has around 20 source files and 40 header files. I have created a project in Xcode 4.2 and put all of these in the project folder, without creating separate folders for headers and source files. When I tried building, its giving errors since the source files are not able to access the needed header files.

Is there any path that I need to specify for the headers?

Please help. Thanks in advance!

Upvotes: 0

Views: 98

Answers (1)

Dr.Kameleon
Dr.Kameleon

Reputation: 22820

What about :

  • Project Target
  • Build Settings
  • User Header Search Paths (set it to your header path)
  • Always Search User Paths (set it to YES)

*These steps should (normally) resolve any "header not found"-related issues.

enter image description here

Upvotes: 1

Related Questions