1

I have a iOS project in which a included static library myLibrary.a with headers. One of its headers (MyHeader.h) I included to MyProject-Prefix.pch

But when I run Jenkins to build my project, I get error:

#import "MyHeader.h" file not found

What the reason of this ? how to fix that ?

atxe
  • 5,029
  • 2
  • 36
  • 50
Jim
  • 8,874
  • 16
  • 68
  • 125
  • Is this header in your *headers search path*? If so, is the path relative to your project folder? – atxe Oct 23 '12 at 12:03
  • where to look headers search path ? – Jim Oct 23 '12 at 12:04
  • 1
    Check http://blog.carbonfive.com/2011/04/04/using-open-source-static-libraries-in-xcode-4/ – atxe Oct 23 '12 at 12:09
  • Check out this question. It has a lot of solutions to missing header issues http://stackoverflow.com/questions/5543854/xcode-4-cant-locate-public-header-files-from-static-library-dependancy. – Gerard Condon Nov 06 '12 at 16:53

0 Answers0