title: app.js is not created by Alloy. [Could not find the file app.js] error
body: <p>My problem is</p>
  
  <ol>
  <li>Run application on appcelerator studio.</li>
  <li>Open /build/iphone folder with x code</li>
  <li>Run in my device.</li>
  </ol>
  
  <p>it shows error.</p>
  
  <pre><code>Could not find the file app.js
  </code></pre>
  
  <p>If I choose iphone simulator at step 3.It works fine.</p>
  
  <p>This error happens only in real device.</p>
  
  <p>My environments are </p>
  
  <ul>
  <li>SDK 5.1.1GA / 5.0.2GA tried both.</li>
  <li>alloy - v 1.7.30</li>
  </ul>
  
  <p>What I have done is...</p>
  
  <ul>
  <li>ProjectA -> Make new project try same procedure. -> it works.</li>
  <li>ProjectB -> Make new project and copy some js sources from old project.(it means tiapp.xml and GUID is renewed). -> it shows error.</li>
  </ul>
  
  <p>First, I compared two projects</p>
  
  <pre><code>ProjectA/Resources/app.js 
  ProjectB/Resources/app.js
  </code></pre>
  
  <p>Both are created however, projectB's app.js is 0byte.</p>
  
  <p>Second, I compared the both  /build/iphone/ folder </p>
  
  <p>There is Asset folder in Xcode project, it has app_js file in projectA not in projectB.</p>
  
  <p>These two results must be a hint though, I have no clue yet.</p>
  
  <p>Does anyone help me?</p>
  
  <hr>
  
  <p>Thanks to @Brenton.</p>
  
  <p>I tried </p>
  
  <pre><code>ti clean &amp;&amp; ti build -p ios --log-level trace
  </code></pre>
  
  <p>then put the log file <a href="https://dl.dropboxusercontent.com/u/1320870/terminal%20output.txt" rel="nofollow">here</a>.</p>
  
  <p>I found sentences like though, can't find likely error.</p>
  
  <pre><code>[INFO]  [app.js] Titanium entry point processing...
  [TRACE] - Processing "builtins" module...
  [TRACE] - Processing "optimizer" module...
  [TRACE] - Processing "compress" module...
  [INFO]    created:    "Resources/iphone/app.js"
  [DEBUG]   map:        "build/map/Resources/iphone/app.js.map"
  [INFO]    
  </code></pre>