title: Sencha: Production build successful but app throws exception in Safari
body: <p>My app runs fine in a development environment. Here is what I do to create a production build: </p>
  
  <p>I Executed:</p>
  
  <p>sencha create jsb -a index.html -p app.jsb3</p>
  
  <p>Then</p>
  
  <p>sencha build ­p app.jsb3 ­d ../production</p>
  
  <p>The production build executes fine with no failures. When I try to open my app in Safari I get:</p>
  
  <p>TypeError: 'undefined' is not an object (evaluating 'Ext.getStore('MainStore').load')</p>
  
  <p>As I said normally this code executes without a hitch, so I can't figure i!<br>
  I should add that the app starts in Safari because I see my first page load, so its definitely finding all my css and js files....its just choking when it gets to the line above.</p>