0

I am working on an application which is working properly in Debug configuration.

But when I am trying to build it in Release mode, its showing me list of errors specifically not finding header libraries.

Is there any extra settings I have to do for it?

Thank You.

spaleja
  • 1,435
  • 15
  • 24

2 Answers2

1

Check the build settings of your application. (In XCode3: Project -> Project Settings -> Build tab).

You may set options for 'All Configurations' or for individual configuration separately. Check the entries you have for 'Header Search Paths' in Release versus Debug.

Miriam
  • 1,178
  • 2
  • 13
  • 23
  • i have checked it. There is no entries for "Header Serach Paths" in debug and release mode as well..!! – spaleja Jul 12 '11 at 10:22
  • What are the missing headers? If it is about standard iOS headers, maybe your installation is incomplete or Base SDK set to some iOS version you do not have installed? – Miriam Jul 12 '11 at 10:25
  • Also, your question is not clear: Do you have an error during compilation (the header files cannot be found) or during linking (the libraries cannot be found)? – Miriam Jul 12 '11 at 10:28
  • At building time, I am getting error "No such file or directory" – spaleja Jul 12 '11 at 11:21
  • Did you get the error during compilation or during linking? Is the header file or the lib not found? Also, in the build console, you may scroll to the top and then press on the 'lines' icon next to the number of errors. This will give you complete output from the compiler and linker that you may cut&paste when reporting errors. – Miriam Jul 14 '11 at 14:18
0

See the header paths settings in dubug and release mode .Make them same in both configurations

Pankaj Kainthla
  • 2,439
  • 5
  • 31
  • 61