title: Xcode Build Phase Input Folder
body: <p>I have a custom "Run Script" build phase which generates some source files depending on files contained in folder <code>A</code>. The build phase executes before the "Compile Sources" build phase. As source files are generated, and I want to avoid triggering a complete project rebuild everytime when running, I'd like to take advantage of the "Input Files" and "Output Files" section, <a href="http://indiestack.com/2014/12/speeding-up-custom-script-phases/" rel="nofollow">as described in this blog post</a>.</p>
  
  <p>Unfortunately, the folder <code>A</code> is a folder and not a file. When I provide the path to folder <code>A</code> as "Input File", the build phase correctly does not get executed when nothing in the folder changes. The build phase also correctly gets executed when I rename some files. <strong>But when changing something in a file within folder <code>A</code>, the build phase is not executed</strong>.</p>
  
  <p>I tried both providing the folder name without <code>*</code>, and also with <code>*</code> or <code>**</code> in the end.</p>
  
  <p>How can I have the build phase executed when any file in a given input folder has changed (added, removed, content modified)?.</p>