View Full Version : SDK tool error generating JSB3
farbodr
21 Apr 2012, 6:45 PM
I'm getting the following error when trying to build. No jsb3 file is created at all. I've gone thru all the previous discussions here and have had no luck. I check all dependencies and requires. I get no warning when running in browser or Xcode iOS sim. So all the requires seem to be there. I'm trying to build on Mac (OSX Lion).
undefined:0 TypeError: 'undefined' is not an object
[ERROR] Jsb generation failed.
TypeError: 'null' is not a constructor
TIA,
FR
mitchellsimoens
23 Apr 2012, 2:20 PM
Are you creating a class using the new keyword?
new Ext.data.Store
farbodr
23 Apr 2012, 5:41 PM
I was using 'new' in a couple of places. I cleaned them up and it is still giving me the same result.
undefined:0 TypeError: 'undefined' is not an object
[ERROR] Jsb generation failed.
TypeError: 'undefined' is not an object
FR
farbodr
23 Apr 2012, 5:42 PM
oops. I see the message is slightly different. Nevertheless it still doesn't produce any files.
mitchellsimoens
24 Apr 2012, 3:58 AM
You can use new (I do instead of Ext.create) you just have to make sure you require the files so they are loaded.
farbodr
24 Apr 2012, 6:26 AM
I did some clean up and now I get a jsb3 file but I still get one error about something being undefined. The jsb3 file looks good so I think I'm ok for now but I'll keep hunting until I resolve that one last error.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.