title: xcodebuild fails, but building from Xcode succeeds
body: <p>I'm trying to automate my build using xcodebuild.</p>
  
  <p>However, my xcodebuild fails while building static libraries, complaining that it can't find headers that are part of dependency frameworks.</p>
  
  <p>No problem to build from Xcode.</p>
  
  <p>Why is the result of xcodebuild different from the one of Xcode?</p>