title: Can i build both Native and Production?
body: <p>I'm tryng to build both native and production application, but when i reference <em>Ext.device</em> on my views, build the whole project using Sencha CMD and run on my local machine it's giving me this error: </p>
  
  <blockquote>
    <p>TypeError: Function.prototype.apply: Arguments list has wrong type</p>
  </blockquote>
  
  <p>I'm using:</p>
  
  <ul>
  <li>Sencha CMD 5.0.0</li>
  <li>Touch 2.3.2</li>
  <li>Phonegap</li>
  <li>Windows 7</li>
  </ul>
  
  <p>I already <em>jshint</em> all files and they are correct. Had debug and discover that the Ext.device was making the run buggy...</p>
  
  <p>The error was found on index.html in this piece of minified code (generated my CMD):</p>
  
  <blockquote>
    <p>function C(b) {   "undefined" != typeof console &amp;&amp; (console.error ||
    console.log).call(console, b) }</p>
  </blockquote>
  
  <p>Any help will be appreciated,
  Best Regards</p>