title: static library builds in debug configuration but not in release configuration
body: <p>I get a 'Lexical/Preprocessor Issue "<em>*</em>.h" not found' error when I build for release. </p>
  
  <p>But it builds perfect fine if I set the build configuration to Debug.</p>
  
  <p>I have this static library project in the same workspace, so I am assuming it builds every time I build my project just like CocoaPods.</p>
  
  <p>When I look in the build folder, the .a file is not copied over. But it is there for the debug config. Maybe it is trying to call a header before the static library is built.</p>
  
  <p>I have looked all over stack overflow and I feel like I have tried everything. This is not a duplicate.</p>
  
  <p>I have -ObjC in other linker flags.</p>
  
  <p>I have checked the Prefix Header</p>
  
  <p>Update: The User Header Search Path is "$(BUILT_PRODUCTS_DIR)" both debug and release</p>
  
  <p>Thanks for your help.</p>